Package org.openjdk.asmtools.jasm
Class MethodData
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classMethodData.DataPArrayAttr<T extends DataWriter>Used to store Parameter Arrays (as attributes)(package private) static class -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected ClassDataprotected CodeAttrprotected DefaultAnnotationAttrprotected DataVectorAttr<ConstCell<?>>protected DataVectorAttr<MethodData.MethodParameterData>protected ConstCell<?>protected MethodData.DataPArrayAttr<AnnotationData>protected MethodData.DataPArrayAttr<AnnotationData>protected ConstCell<?>Fields inherited from class org.openjdk.asmtools.jasm.MemberData
access, annotAttrInv, annotAttrVis, attributeLocation, deprecatedAttr, pool, signatureAttr, syntheticAttr, type_annotAttrInv, type_annotAttrVis -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddExceptions(ArrayList<ConstCell<?>> exc_table) voidaddMethodParameter(int totalParams, int paramNum, ConstCell<?> name, int access) voidaddParamAnnotation(int totalParams, int paramNum, AnnotationData data) protected DataVectorRetrieves the default annotation attribute associated with this method.booleanvoidvoidMethods inherited from class org.openjdk.asmtools.jasm.MemberData
addAnnotations, andThenCheck, checkExistence, checkExistence, createPseudoMod, getDataVector, getEnvironment, getPool, getSignatureAttr, setSignatureAttr, setSignatureAttr
-
Field Details
-
classData
-
nameCell
-
sigCell
-
code
-
exceptions
-
methodParameters
-
pannotAttrVis
-
pannotAttrInv
-
defaultAnnot
-
-
Constructor Details
-
MethodData
-
-
Method Details
-
addExceptions
-
getExceptions
-
hasExceptions
public boolean hasExceptions() -
getDefaultAnnotation
Retrieves the default annotation attribute associated with this method. The default annotation is used to store the default value of an annotation method.- Returns:
- the default annotation attribute, or null if it has not been set
-
addMethodParameter
-
startCode
-
setDefaultAnnotation
-
addParamAnnotation
-
getAttrVector
- Specified by:
getAttrVectorin classMemberData<JasmEnvironment>
-
write
- Throws:
IOExceptionParser.CompilerError
-