public abstract class IClass.IField extends Object implements IClass.IMember
Constructor and Description |
---|
IClass.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()
Returns the
IClass that declares this IClass.IMember . |
String |
getDescriptor() |
abstract String |
getName() |
abstract IClass |
getType() |
abstract boolean |
isStatic() |
String |
toString() |
public abstract Access getAccess()
getAccess
in interface IClass.IMember
Access.PRIVATE
, Access.PROTECTED
,
Access.DEFAULT
and Access.PUBLIC
.public IClass getDeclaringIClass()
IClass.IMember
IClass
that declares this IClass.IMember
.getDeclaringIClass
in interface 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-2013. All Rights Reserved.