Class MethodData.DataPArrayAttr<T extends DataWriter>
java.lang.Object
org.openjdk.asmtools.jasm.AttrData
org.openjdk.asmtools.jasm.MethodData.DataPArrayAttr<T>
- All Implemented Interfaces:
CompilerConstants, ConstantPoolDataVisitor, DataWriter
- Enclosing class:
MethodData
public static class MethodData.DataPArrayAttr<T extends DataWriter>
extends AttrData
implements CompilerConstants
Used to store Parameter Arrays (as attributes)
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) intFields inherited from interface CompilerConstants
BACKSLASH, EOF, OFFSET_BITS, OFFSET_INC -
Constructor Summary
ConstructorsConstructorDescriptionDataPArrayAttr(ConstantPool pool, EAttribute attribute, int paramsTotal) DataPArrayAttr(ConstantPool pool, EAttribute attribute, int paramsTotal, TreeMap<Integer, ArrayList<T>> elements) -
Method Summary
Methods inherited from class AttrData
classifyConstCell, getAttribute, getLength, visitMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ConstantPoolDataVisitor
visitConstCell, visitDataMethods inherited from interface DataWriter
isCountable
-
Field Details
-
elements
TreeMap<Integer, ArrayList<T extends DataWriter>> elements -
paramsTotal
int paramsTotal
-
-
Constructor Details
-
DataPArrayAttr
public DataPArrayAttr(ConstantPool pool, EAttribute attribute, int paramsTotal, TreeMap<Integer, ArrayList<T>> elements) -
DataPArrayAttr
-
-
Method Details
-
put
-
get
-
attrLength
public int attrLength()- Overrides:
attrLengthin classAttrData
-
write
- Specified by:
writein interfaceDataWriter- Overrides:
writein classAttrData- Throws:
IOException
-