public abstract class IClass.IField extends Object implements IClass.IMember
IClass.| Constructor and Description |
|---|
IField() |
| Modifier and Type | Method and Description |
|---|---|
abstract Access |
getAccess() |
abstract Object |
getConstantValue()
Returns the value of the field if it is a compile-time constant value, i.e. the field is FINAL and its
initializer is a constant expression (JLS7 15.28, bullet 12).
|
IClass |
getDeclaringIClass() |
String |
getDescriptor() |
abstract String |
getName() |
abstract IClass |
getType() |
abstract boolean |
isStatic() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetAnnotationspublic abstract Access getAccess()
getAccess in interface IClass.IMemberAccess.PRIVATE, Access.PROTECTED, Access.DEFAULT and Access.PUBLIC.public IClass getDeclaringIClass()
getDeclaringIClass in interface IClass.IMemberIClass that declares this IClass.IMemberpublic abstract boolean isStatic()
public abstract IClass getType() throws CompileException
CompileExceptionpublic abstract String getName()
public String getDescriptor() throws CompileException
CompileException@Nullable public abstract Object getConstantValue() throws CompileException
CompileExceptionCopyright © 2019. All rights reserved.