Package com.google.turbine.binder.bound
Class TypeBoundClass.FieldInfo
- java.lang.Object
-
- com.google.turbine.binder.bound.TypeBoundClass.FieldInfo
-
- Enclosing interface:
- TypeBoundClass
public static class TypeBoundClass.FieldInfo extends java.lang.ObjectA field declaration.
-
-
Constructor Summary
Constructors Constructor Description FieldInfo(FieldSymbol sym, Type type, int access, com.google.common.collect.ImmutableList<AnnoInfo> annotations, @Nullable Tree.VarDecl decl, @Nullable Const.Value value)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intaccess()Access bits.com.google.common.collect.ImmutableList<AnnoInfo>annotations()Declaration annotations.@Nullable Tree.VarDecldecl()The field's declaration.java.lang.Stringname()The field name.FieldSymbolsym()The field symbol.Typetype()The field type.@Nullable Const.Valuevalue()The constant field value.
-
-
-
Constructor Detail
-
FieldInfo
public FieldInfo(FieldSymbol sym, Type type, int access, com.google.common.collect.ImmutableList<AnnoInfo> annotations, @Nullable Tree.VarDecl decl, @Nullable Const.Value value)
-
-
Method Detail
-
sym
public FieldSymbol sym()
The field symbol.
-
name
public java.lang.String name()
The field name.
-
type
public Type type()
The field type.
-
access
public int access()
Access bits.
-
decl
public @Nullable Tree.VarDecl decl()
The field's declaration.
-
value
public @Nullable Const.Value value()
The constant field value.
-
annotations
public com.google.common.collect.ImmutableList<AnnoInfo> annotations()
Declaration annotations.
-
-