Attribute(String name) Create a new Attribute.
Parameters: name - - an interned String that names the Attribute.
Method Summary
public void
addToFrontOf(AttrContainer container) Add this to (the front of) of the specified attribute container.
public void
assignConstants(ClassType cl) Add any needed constant pool entries for this Attribute.
Overridden by sub-classes.
Do any other cleanup needed before writing out a .class file.
public static void
assignConstants(AttrContainer container, ClassType cl) Add any needed constant pool entries for all attributes in a container.
Do any other cleanup needed before writing out a .class file.
Find an Attribute by name, in an attribute cointainer.
Parameters: container - the attribute container to search Parameters: name - the (interned) name of the attribute we are seeking the matching Attribute, or null if the search failed.