javar.attributes
Class AttributeManager
java.lang.Object
|
+--javar.attributes.AttributeManager
- public class AttributeManager
- extends Object
This is a simple attribute factory that will create the appropriate
attribute for a given name.
- Author:
- Ben Litchfield
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SOURCE_FILE
public static final String SOURCE_FILE
- See Also:
- Constant Field Values
INNER_CLASSES
public static final String INNER_CLASSES
- See Also:
- Constant Field Values
DEPRECATED
public static final String DEPRECATED
- See Also:
- Constant Field Values
EXCEPTIONS
public static final String EXCEPTIONS
- See Also:
- Constant Field Values
CODE
public static final String CODE
- See Also:
- Constant Field Values
SYNTHETIC
public static final String SYNTHETIC
- See Also:
- Constant Field Values
LOCAL_VARIABLE_TABLE
public static final String LOCAL_VARIABLE_TABLE
- See Also:
- Constant Field Values
CONSTANT_VALUE
public static final String CONSTANT_VALUE
- See Also:
- Constant Field Values
LINE_NUMBER_TABLE
public static final String LINE_NUMBER_TABLE
- See Also:
- Constant Field Values
createAttribute
public static Attribute createAttribute(ConstantPool pool,
long nameIndex)
- This will create the correct attribute
- Parameters:
pool - The constant pool to work withnameIndex - The index in the pool of the name of this attribute