Public Methods | |
void | addAttribute (Attribute a) |
Object | clone () |
Attribute[] | getAttributes () |
ConstantPoolGen | getConstantPool () |
String | getName () |
abstract String | getSignature () |
Type | getType () |
void | removeAttribute (Attribute a) |
void | setConstantPool (ConstantPoolGen cp) |
void | setName (String name) |
void | setType (Type type) |
Protected Methods | |
FieldGenOrMethodGen () | |
Protected Attributes | |
String | name |
Type | type |
ConstantPoolGen | cp |
Private Attributes | |
Vector | attribute_vec = new Vector() |
Definition at line 13 of file FieldGenOrMethodGen.java.
|
Add an attribute to this method. Currently, the JVM knows about the `Code', `ConstantValue', `Synthetic' and `Exceptions' attributes. Other attributes will be ignored by the JVM but do no harm.
Reimplemented in FieldGen, and MethodGen. Definition at line 30 of file FieldGenOrMethodGen.java. Referenced by FieldGen::FieldGen(), MethodGen::MethodGen(), FieldGen::getField(), and MethodGen::getMethod().
|
|
Reimplemented in FieldGen, and MethodGen. Definition at line 42 of file FieldGenOrMethodGen.java. Referenced by FieldGen::getField(), and MethodGen::getMethod().
|
|
Reimplemented from NamedAndTyped. Reimplemented in FieldGen. Definition at line 50 of file FieldGenOrMethodGen.java. Referenced by MethodGen::getMethodName(), and FieldGen::toString().
|
|
Reimplemented in FieldGen, FieldGen, and MethodGen. Referenced by FieldGen::getField(), MethodGen::getMethod(), and MethodGen::getMethodSignature().
|
|
Remove an attribute. Reimplemented in MethodGen. Definition at line 58 of file FieldGenOrMethodGen.java. |