getFlags
public final int getFlags()
getNext
public final Field getNext()
getReflectField
public java.lang.reflect.Field getReflectField()
throws java.lang.NoSuchFieldException
getSourceName
public String getSourceName()
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()