Methods Summary |
---|
public int | byteLength()Get the total length of this list in bytes, when part of a
class file. The returned value includes the two bytes for the
{@code attributes_count} length indicator.
|
public Attribute | findFirst(java.lang.String name)Get the first attribute in the list with the given name, if any.
|
public Attribute | findNext(Attribute attrib)Get the next attribute in the list after the given one, with the same
name, if any.
|
public Attribute | get(int n)Get the {@code n}th attribute.
|
public boolean | isMutable()Get whether this instance is mutable. Note that the
{@code AttributeList} interface itself doesn't provide any means
of mutation, but that doesn't mean that there isn't a non-interface
way of mutating an instance.
|
public int | size()Get the number of attributes in the list.
|