Methods Summary |
---|
public void | accept(IClassDefVisitor visitor, java.lang.Object ctx)
|
public int | add(Attribute_info attribute)Adds a new Attribute_info descriptor to this collection. No duplicate
checks are made. It is the responsibility of the caller to ensure
that all data referenced in 'attribute' will eventually appear in the
constant pool.
|
public java.lang.Object | clone()
|
public Attribute_info | get(int offset)Returns the attribute descriptor at a given offset.
|
public InnerClassesAttribute_info | getInnerClassesAttribute()
|
public boolean | hasBridge()
|
public boolean | hasSynthetic()
|
public long | length()Returns the total length of this collection when converted to
.class format [including 2 count bytes]
|
public Attribute_info | remove(int offset)Removes the Attribute_info descriptor at a given offset.
|
public Attribute_info | set(int offset, Attribute_info attribute)Replaces the Attribute_info descriptor at a given offset. No duplicate
checks are made. It is the responsibility of the caller to ensure that
all data referenced in 'attribute' will eventually appear in the constant
pool.
|
public int | size()Returns the number of attributes in this collection [can be 0].
|