Package com.google.turbine.bytecode
Class ClassFile.FieldInfo
- java.lang.Object
-
- com.google.turbine.bytecode.ClassFile.FieldInfo
-
- Enclosing class:
- ClassFile
public static class ClassFile.FieldInfo extends java.lang.ObjectThe contents of a JVMS ยง4.5 field_info structure.
-
-
Constructor Summary
Constructors Constructor Description FieldInfo(int access, java.lang.String name, java.lang.String descriptor, @Nullable java.lang.String signature, @Nullable Const.Value value, java.util.List<ClassFile.AnnotationInfo> annotations, com.google.common.collect.ImmutableList<ClassFile.TypeAnnotationInfo> typeAnnotations)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccess()Field access and property flags.java.util.List<ClassFile.AnnotationInfo>annotations()Declaration annotations of the field.java.lang.Stringdescriptor()The descriptor.java.lang.Stringname()The name of the field.@Nullable java.lang.Stringsignature()The value of Signature attribute.com.google.common.collect.ImmutableList<ClassFile.TypeAnnotationInfo>typeAnnotations()Type annotations.@Nullable Const.Valuevalue()The compile-time constant value.
-
-
-
Constructor Detail
-
FieldInfo
public FieldInfo(int access, java.lang.String name, java.lang.String descriptor, @Nullable java.lang.String signature, @Nullable Const.Value value, java.util.List<ClassFile.AnnotationInfo> annotations, com.google.common.collect.ImmutableList<ClassFile.TypeAnnotationInfo> typeAnnotations)
-
-
Method Detail
-
access
public int access()
Field access and property flags.
-
name
public java.lang.String name()
The name of the field.
-
descriptor
public java.lang.String descriptor()
The descriptor.
-
signature
public @Nullable java.lang.String signature()
The value of Signature attribute.
-
value
public @Nullable Const.Value value()
The compile-time constant value.
-
annotations
public java.util.List<ClassFile.AnnotationInfo> annotations()
Declaration annotations of the field.
-
typeAnnotations
public com.google.common.collect.ImmutableList<ClassFile.TypeAnnotationInfo> typeAnnotations()
Type annotations.
-
-