org.apache.bcel.generic
public abstract class FieldGenOrMethodGen extends AccessFlags implements NamedAndTyped, Cloneable
Field Summary | |
---|---|
protected ConstantPoolGen | cp |
protected String | name |
protected Type | type |
Constructor Summary | |
---|---|
protected | FieldGenOrMethodGen() |
Method Summary | |
---|---|
void | addAttribute(Attribute a)
Add an attribute to this method. |
Object | clone() |
Attribute[] | getAttributes() |
ConstantPoolGen | getConstantPool() |
String | getName() |
abstract String | getSignature() |
Type | getType() |
void | removeAttribute(Attribute a)
Remove an attribute. |
void | removeAttributes()
Remove all attributes. |
void | setConstantPool(ConstantPoolGen cp) |
void | setName(String name) |
void | setType(Type type) |
Parameters: a attribute to be added
Returns: all attributes of this method.
Returns: name of method/field.
Returns: signature of method/field.