org.apache.bcel.classfile
public final class Synthetic extends Attribute
See Also: Attribute
Constructor Summary | |
---|---|
Synthetic(Synthetic c)
Initialize from another object. | |
Synthetic(int name_index, int length, byte[] bytes, ConstantPool constant_pool) |
Method Summary | |
---|---|
void | accept(Visitor v)
Called by objects that are traversing the nodes of the tree implicitely
defined by the contents of a Java class. |
Attribute | copy(ConstantPool _constant_pool) |
void | dump(DataOutputStream file)
Dump source file attribute to file stream in binary format.
|
byte[] | getBytes() |
void | setBytes(byte[] bytes) |
String | toString() |
Parameters: name_index Index in constant pool to CONSTANT_Utf8, which should represent the string "Synthetic". length Content length in bytes - should be zero. bytes Attribute contents constant_pool The constant pool this attribute is associated with.
Parameters: v Visitor object
Returns: deep copy of this attribute
Parameters: file Output file stream
Throws: IOException
Returns: data bytes.
Parameters: bytes
Returns: String representation.