| java.lang.Object gnu.bytecode.Location gnu.bytecode.Field
Constructor Summary | |
public | Field(ClassType ctype) Add a new Field to a ClassType. |
sourceName | String sourceName(Code) | | If non-null, the interned source-file (unmangled) name of the field.
|
getFlags | final public int getFlags()(Code) | | |
getModifiers | final public int getModifiers()(Code) | | |
getStaticFlag | final public boolean getStaticFlag()(Code) | | |
isFinal | final public boolean isFinal()(Code) | | |
isStatic | final public boolean isStatic()(Code) | | |
searchField | public static Field searchField(Field fields, String name)(Code) | | Find a field with the given name.
Parameters: fields - list of fields to search Parameters: name - (interned source) name of field to look for |
setConstantValue | final public void setConstantValue(Object value, ClassType ctype)(Code) | | Set the ConstantValue attribute for this field.
Parameters: value - the value to use for the ConstantValue attributeof this field Parameters: ctype - the class that contains this fieldThis field's type is used to determine the kind of constant. |
setStaticFlag | final public void setStaticFlag(boolean is_static)(Code) | | |
|
|