Attribute
| Modifier and Type | Field and Description |
|---|---|
| private byte[] |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Deprecated(final int
Index in constant pool to CONSTANT_Utf8 nameIndex, final int Content length in bytes length, final byte[] Attribute contents bytes, final ConstantPool Array of constants constantPool)
|
| pack-priv | Deprecated(final int
Index in constant pool to CONSTANT_Utf8 nameIndex, final int Content length in bytes length, final DataInput Input stream input, final ConstantPool Array of constants constantPool)Constructs object from input stream. |
| Modifier and Type | Method and Description |
|---|---|
| public void | accept(final Visitor
Visitor object v)Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. |
| public Attribute | copy(final ConstantPool constantPool)
Implements abstract com. Returns: deep copy of this attribute |
| public void | dump(final DataOutputStream
Output file stream file)Overrides com. Dump source file attribute to file stream in binary format. |
| public byte[] | |
| public void | |
| public String | Returns: attribute nameOverrides com. Returns a string representation of the object. |
| bytes | back to summary |
|---|---|
| private byte[] bytes | |
| Deprecated | back to summary |
|---|---|
| public Deprecated(final Deprecated c) Initialize from another object. Note that both objects use the same references (shallow copy). Use clone() for a physical copy.
| |
| Deprecated | back to summary |
|---|---|
public Deprecated(final int nameIndex, final int length, final byte[] bytes, final ConstantPool constantPool)
| |
| Deprecated | back to summary |
|---|---|
| pack-priv Deprecated(final int nameIndex, final int length, final DataInput input, final ConstantPool constantPool) throws IOException Constructs object from input stream.
| |
| accept | back to summary |
|---|---|
| public void accept(final Visitor v) Implements abstract com. Implements com. Called by objects that are traversing the nodes of the tree implicitly defined by the contents of a Java class. I.e., the hierarchy of methods, fields, attributes, etc. spawns a tree of objects. | |
| copy | back to summary |
|---|---|
| public Attribute copy(final ConstantPool constantPool) Implements abstract com. | |
| dump | back to summary |
|---|---|
| public void dump(final DataOutputStream file) throws IOException Overrides com. Dump source file attribute to file stream in binary format.
| |
| getBytes | back to summary |
|---|---|
public byte[] getBytes()
| |
| setBytes | back to summary |
|---|---|
public void setBytes(final byte[] bytes)
| |
| toString | back to summary |
|---|---|
| public String toString() Overrides com. Doc from java. Returns a string representation of the object.
Satisfying this method's contract implies a non- | |