Package org.openjdk.asmtools.jasm
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 org.openjdk.asmtools.common.CompilerConstants
BACKSLASH, EOF, LINE_INC, 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 org.openjdk.asmtools.jasm.AttrData
classifyConstCell, getLength, visitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.openjdk.asmtools.jasm.ConstantPoolDataVisitor
visitConstCell, visitData
-
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
-