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, toString
private final java.lang.String name
private final IClass type
public java.lang.Object getConstantValue()
IClass.IField
getConstantValue
in class IClass.IField
public java.lang.String getName()
getName
in class IClass.IField
public IClass getType()
getType
in class IClass.IField
public boolean isStatic()
isStatic
in class IClass.IField
public Access getAccess()
getAccess
in interface IClass.IMember
getAccess
in class IClass.IField
Access.PRIVATE
, Access.PROTECTED
,
Access.DEFAULT
and Access.PUBLIC
.public Java.Annotation[] getAnnotations()