| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.bytecode.FieldInfo
public final class FieldInfo
field_info structure.
CtField.getFieldInfo()| Constructor Summary | |
|---|---|
| FieldInfo(ConstPool cp,
          java.lang.String fieldName,
          java.lang.String desc)Constructs a field_infostructure. | |
| Method Summary | |
|---|---|
|  void | addAttribute(AttributeInfo info)Appends an attribute. | 
|  int | getAccessFlags()Returns the access flags. | 
|  AttributeInfo | getAttribute(java.lang.String name)Returns the attribute with the specified name. | 
|  java.util.List | getAttributes()Returns all the attributes. | 
|  ConstPool | getConstPool()Returns the constant pool table used by this field_info. | 
|  java.lang.String | getDescriptor()Returns the field descriptor. | 
|  java.lang.String | getName()Returns the field name. | 
|  void | setAccessFlags(int acc)Sets the access flags. | 
|  void | setDescriptor(java.lang.String desc)Sets the field descriptor. | 
|  void | setName(java.lang.String newName)Sets the field name. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public FieldInfo(ConstPool cp,
                 java.lang.String fieldName,
                 java.lang.String desc)
field_info structure.
cp - a constant pool tablefieldName - field namedesc - field descriptorDescriptor| Method Detail | 
|---|
public ConstPool getConstPool()
field_info.
public java.lang.String getName()
public void setName(java.lang.String newName)
public int getAccessFlags()
AccessFlagpublic void setAccessFlags(int acc)
AccessFlagpublic java.lang.String getDescriptor()
Descriptorpublic void setDescriptor(java.lang.String desc)
Descriptorpublic java.util.List getAttributes()
AttributeInfo objects.AttributeInfopublic AttributeInfo getAttribute(java.lang.String name)
name - attribute namepublic void addAttribute(AttributeInfo info)
| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||