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.
|
IClass |
getDeclaringIClass() |
String |
getDescriptor() |
abstract String |
getName() |
abstract IClass |
getType() |
abstract boolean |
isStatic() |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAnnotations
public abstract Access getAccess()
getAccess
in interface IClass.IMember
Access.PRIVATE
, Access.PROTECTED
,
Access.DEFAULT
and Access.PUBLIC
.public IClass getDeclaringIClass()
getDeclaringIClass
in interface IClass.IMember
IClass
that declares this IClass.IMember
public abstract boolean isStatic()
public abstract IClass getType() throws CompileException
CompileException
public abstract String getName()
public String getDescriptor() throws CompileException
CompileException
public abstract Object getConstantValue() throws CompileException
CompileException
Copyright © 2001–2016. All rights reserved.