private class ReflectionIClass.ReflectionIField extends IClass.IField
| Modifier and Type | Field and Description |
|---|---|
(package private) java.lang.reflect.Field |
field |
| Constructor and Description |
|---|
ReflectionIField(java.lang.reflect.Field field) |
| Modifier and Type | Method and Description |
|---|---|
Access |
getAccess() |
Java.Annotation[] |
getAnnotations() |
java.lang.Object |
getConstantValue()
This implementation of
IClass.IField.getConstantValue() is
not completely correct:
It treats non-static fields as non-constant
Even fields with a non-constant initializer are identified
as constant. |
java.lang.String |
getName() |
IClass |
getType() |
boolean |
isStatic() |
java.lang.String |
toString() |
getDeclaringIClass, getDescriptorpublic Access getAccess()
getAccess in interface IClass.IMembergetAccess in class IClass.IFieldAccess.PRIVATE, Access.PROTECTED,
Access.DEFAULT and Access.PUBLIC.public Java.Annotation[] getAnnotations()
public java.lang.String getName()
getName in class IClass.IFieldpublic boolean isStatic()
isStatic in class IClass.IFieldpublic IClass getType()
getType in class IClass.IFieldpublic java.lang.String toString()
toString in class IClass.IFieldpublic java.lang.Object getConstantValue()
throws CompileException
IClass.IField.getConstantValue() is
not completely correct:
File.separator.)
getConstantValue in class IClass.IFieldCompileException