getDeclaringClass
public final ClassType getDeclaringClass()
getFlags
public final int getFlags()
getModifiers
public final int getModifiers()
getNext
public final Field getNext()
getReflectField
public java.lang.reflect.Field getReflectField()
throws java.lang.NoSuchFieldException
getSourceName
public String getSourceName()
getStaticFlag
public final boolean getStaticFlag()
searchField
public static Field searchField(Field fields,
String name)
Find a field with the given name.
fields
- list of fields to searchname
- (interned source) name of field to look for
setConstantValue
public final void setConstantValue(Object value,
ClassType ctype)
Set the ConstantValue attribute for this field.
value
- the value to use for the ConstantValue attribute
of this fieldctype
- the class that contains this field
This field's type is used to determine the kind of constant.
setSourceName
public void setSourceName(String name)
setStaticFlag
public final void setStaticFlag(boolean is_static)
toString
public String toString()