Class ParameterAnnotationsAttribute
java.lang.Object
org.jboss.classfilewriter.attributes.Attribute
org.jboss.classfilewriter.annotations.ParameterAnnotationsAttribute
- All Implemented Interfaces:
WritableEntry
A parameter annotations attribute
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<Integer, List<ClassAnnotation>> private final int -
Constructor Summary
ConstructorsConstructorDescriptionParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type, ConstPool constPool, int noParameters) -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(int parameter, Annotation annotation) voidaddAnnotation(int parameter, ClassAnnotation annotation) voidwriteData(ByteArrayDataOutputStream stream)
-
Field Details
-
annotations
-
noParameters
private final int noParameters
-
-
Constructor Details
-
ParameterAnnotationsAttribute
public ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type, ConstPool constPool, int noParameters)
-
-
Method Details
-
writeData
- Specified by:
writeDatain classAttribute- Throws:
IOException
-
addAnnotation
-
addAnnotation
-