| Modifier and Type | Field and Description |
|---|---|
| private AnnotationEntry[] | |
| protected Attribute[] | attributes
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| protected int | attributes_count
Deprecated
(since 6.0) will be removed (not needed)
|
| protected ConstantPool | constant_pool
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| protected int | name_index
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| private boolean | |
| protected int | signature_index
Deprecated
(since 6.0) will be made private; do not access directly, use getter/setter
|
| private String |
| Access | Constructor and Description |
|---|---|
| pack-priv | |
| protected | FieldOrMethod(final DataInput
Input stream file, final ConstantPool constantPool)Constructs object from file stream. |
| protected | FieldOrMethod(final DataInputStream
Input stream file, final ConstantPool constantPool)
Deprecated
(6.0) Use
FieldOrMethod(java. instead.
Constructs object from file stream. |
| protected | |
| protected | FieldOrMethod(final int
Access rights of method accessFlags, final int Points to field name in constant pool nameIndex, final int Points to encoded signature signatureIndex, final Attribute[] Collection of attributes attributes, final ConstantPool Array of constants constantPool)
|
| Modifier and Type | Method and Description |
|---|---|
| protected FieldOrMethod | |
| public final void | |
| public AnnotationEntry[] | |
| public final <T extends Attribute> T | Returns: Attribute for given tag, null if not found. Refer tocom. constants named ATTR_* for possible values.Gets attribute for given tag. |
| public final Attribute[] | |
| public final ConstantPool | |
| public final String | |
| public final String | |
| public final int | |
| public final String | |
| public final int | |
| public final void | |
| public final void | |
| public final void | |
| public final void |
| annotationEntries | back to summary |
|---|---|
| private AnnotationEntry[] annotationEntries | |
| attributes | back to summary |
|---|---|
| protected Attribute[] attributes
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| attributes_count | back to summary |
|---|---|
| protected int attributes_count
Deprecated (since 6.0) will be removed (not needed) | |
| constant_pool | back to summary |
|---|---|
| protected ConstantPool constant_pool
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| name_index | back to summary |
|---|---|
| protected int name_index
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| searchedForSignatureAttribute | back to summary |
|---|---|
| private boolean searchedForSignatureAttribute | |
| signature_index | back to summary |
|---|---|
| protected int signature_index
Deprecated (since 6.0) will be made private; do not access directly, use getter/setter | |
| signatureAttributeString | back to summary |
|---|---|
| private String signatureAttributeString | |
| FieldOrMethod | back to summary |
|---|---|
| pack-priv FieldOrMethod() | |
| FieldOrMethod | back to summary |
|---|---|
| protected FieldOrMethod(final DataInput file, final ConstantPool constantPool) throws IOException Constructs object from file stream.
| |
| FieldOrMethod | back to summary |
|---|---|
| protected FieldOrMethod(final DataInputStream file, final ConstantPool constantPool) throws IOException
Deprecated (6.0) Use Constructs object from file stream.
| |
| FieldOrMethod | back to summary |
|---|---|
| protected FieldOrMethod(final FieldOrMethod c) Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.
| |
| FieldOrMethod | back to summary |
|---|---|
protected FieldOrMethod(final int accessFlags, final int nameIndex, final int signatureIndex, final Attribute[] attributes, final ConstantPool constantPool)
| |
| copy_ | back to summary |
|---|---|
protected FieldOrMethod copy_(final ConstantPool constantPool)
| |
| dump | back to summary |
|---|---|
| public final void dump(final DataOutputStream file) throws IOException Dump object to file stream on binary format.
| |
| getAnnotationEntries | back to summary |
|---|---|
public AnnotationEntry[] getAnnotationEntries()
| |
| getAttribute | back to summary |
|---|---|
| public final <T extends Attribute> T getAttribute(final byte tag) Gets attribute for given tag.
| |
| getAttributes | back to summary |
|---|---|
public final Attribute[] getAttributes()
| |
| getConstantPool | back to summary |
|---|---|
public final ConstantPool getConstantPool()
| |
| getGenericSignature | back to summary |
|---|---|
| public final String getGenericSignature() Hunts for a signature attribute on the member and returns its contents. So where the 'regular' signature may be (Ljava/util/Vector;)V the signature attribute may in fact say 'Ljava/lang/Vector<Ljava/lang/String>;' Coded for performance - searches for the attribute only when requested - only searches for it once.
| |
| getName | back to summary |
|---|---|
public final String getName()
| |
| getNameIndex | back to summary |
|---|---|
public final int getNameIndex()
| |
| getSignature | back to summary |
|---|---|
public final String getSignature()
| |
| getSignatureIndex | back to summary |
|---|---|
public final int getSignatureIndex()
| |
| setAttributes | back to summary |
|---|---|
public final void setAttributes(final Attribute[] attributes)
| |
| setConstantPool | back to summary |
|---|---|
public final void setConstantPool(final ConstantPool constantPool)
| |
| setNameIndex | back to summary |
|---|---|
public final void setNameIndex(final int nameIndex)
| |
| setSignatureIndex | back to summary |
|---|---|
public final void setSignatureIndex(final int signatureIndex)
| |