| Modifier and Type | Field and Description |
|---|---|
protected Attribute[] |
attributes |
protected ConstantPool |
cpool |
protected int |
nameIndex |
protected int |
signatureIndex |
| Modifier | Constructor and Description |
|---|---|
protected |
FieldOrMethod() |
protected |
FieldOrMethod(java.io.DataInputStream file,
ConstantPool cpool) |
protected |
FieldOrMethod(FieldOrMethod c)
Initialize from another object.
|
protected |
FieldOrMethod(int accessFlags,
int nameIndex,
int signatureIndex,
Attribute[] attributes,
ConstantPool cpool) |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(java.io.DataOutputStream file) |
AnnotationGen[] |
getAnnotations() |
Attribute[] |
getAttributes() |
ConstantPool |
getConstantPool() |
java.lang.String |
getDeclaredSignature()
This will return the contents of a signature attribute attached to a member, or if there is none it will return the same as
'getSignature()'.
|
java.lang.String |
getGenericSignature()
Hunts for a signature attribute on the member and returns its contents.
|
java.lang.String |
getName() |
int |
getNameIndex() |
java.lang.String |
getSignature() |
int |
getSignatureIndex() |
void |
setAttributes(Attribute[] attributes) |
getModifiers, isAbstract, isBridge, isFinal, isInterface, isNative, isPrivate, isProtected, isPublic, isStatic, isStrictfp, isSynchronized, isTransient, isVarargs, isVolatile, setModifiersprotected int nameIndex
protected int signatureIndex
protected Attribute[] attributes
protected ConstantPool cpool
protected FieldOrMethod()
protected FieldOrMethod(FieldOrMethod c)
protected FieldOrMethod(java.io.DataInputStream file,
ConstantPool cpool)
throws java.io.IOException
java.io.IOExceptionprotected FieldOrMethod(int accessFlags,
int nameIndex,
int signatureIndex,
Attribute[] attributes,
ConstantPool cpool)
public void setAttributes(Attribute[] attributes)
attributes - Collection of object attributes.public final void dump(java.io.DataOutputStream file)
throws java.io.IOException
java.io.IOExceptionpublic final Attribute[] getAttributes()
public final ConstantPool getConstantPool()
public final int getNameIndex()
public final int getSignatureIndex()
public final java.lang.String getName()
public final java.lang.String getSignature()
public final java.lang.String getDeclaredSignature()
public AnnotationGen[] getAnnotations()
public final java.lang.String getGenericSignature()