public class ParameterAnnotationsAttribute extends Attribute
Modifier and Type | Class and Description |
---|---|
static class |
ParameterAnnotationsAttribute.Type |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<java.lang.Integer,java.util.List<ClassAnnotation>> |
annotations |
private int |
noParameters |
Constructor and Description |
---|
ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type,
ConstPool constPool,
int noParameters) |
Modifier and Type | Method and Description |
---|---|
void |
addAnnotation(int parameter,
java.lang.annotation.Annotation annotation) |
void |
addAnnotation(int parameter,
ClassAnnotation annotation) |
void |
writeData(ByteArrayDataOutputStream stream) |
private final java.util.Map<java.lang.Integer,java.util.List<ClassAnnotation>> annotations
private final int noParameters
public ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type, ConstPool constPool, int noParameters)
public void writeData(ByteArrayDataOutputStream stream) throws java.io.IOException
public void addAnnotation(int parameter, java.lang.annotation.Annotation annotation)
public void addAnnotation(int parameter, ClassAnnotation annotation)