public static class UnitCompiler.SimpleIField extends IClass.IField
IClass.IField that implements a non-constant, non-static,
package-accessible field.| Modifier and Type | Field and Description |
|---|---|
private java.lang.String |
name |
private IClass |
type |
| Constructor and Description |
|---|
SimpleIField(IClass declaringIClass,
java.lang.String name,
IClass type) |
| Modifier and Type | Method and Description |
|---|---|
Access |
getAccess() |
Java.Annotation[] |
getAnnotations() |
java.lang.Object |
getConstantValue()
Returns the value of the field if it is a compile-time constant value, i.e.
|
java.lang.String |
getName() |
IClass |
getType() |
boolean |
isStatic() |
getDeclaringIClass, getDescriptor, toStringprivate final java.lang.String name
private final IClass type
public java.lang.Object getConstantValue()
IClass.IFieldgetConstantValue in class IClass.IFieldpublic java.lang.String getName()
getName in class IClass.IFieldpublic IClass getType()
getType in class IClass.IFieldpublic boolean isStatic()
isStatic in class IClass.IFieldpublic Access getAccess()
getAccess in interface IClass.IMembergetAccess in class IClass.IFieldAccess.PRIVATE, Access.PROTECTED,
Access.DEFAULT and Access.PUBLIC.public Java.Annotation[] getAnnotations()