org.codehaus.janino

Class IClass.IField

public abstract class IClass.IField extends Object implements IClass.IMember

Method Summary
abstract AccessgetAccess()
abstract ObjectgetConstantValue()
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 (JLS2 15.28, bullet 12).
IClassgetDeclaringIClass()
StringgetDescriptor()
abstract StringgetName()
abstract IClassgetType()
abstract booleanisStatic()
StringtoString()

Method Detail

getAccess

public abstract Access getAccess()

getConstantValue

public 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 (JLS2 15.28, bullet 12).

getDeclaringIClass

public IClass getDeclaringIClass()

getDescriptor

public String getDescriptor()

getName

public abstract String getName()

getType

public abstract IClass getType()

isStatic

public abstract boolean isStatic()

toString

public String toString()