WritableEntrypublic class ParameterAnnotationsAttribute extends Attribute
| Modifier and Type | Class | Description |
|---|---|---|
static class |
ParameterAnnotationsAttribute.Type |
| Constructor | Description |
|---|---|
ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type,
ConstPool constPool,
int noParameters) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addAnnotation(int parameter,
Annotation annotation) |
|
void |
addAnnotation(int parameter,
ClassAnnotation annotation) |
|
void |
writeData(ByteArrayDataOutputStream stream) |
public ParameterAnnotationsAttribute(ParameterAnnotationsAttribute.Type type, ConstPool constPool, int noParameters)
public void writeData(ByteArrayDataOutputStream stream) throws IOException
writeData in class AttributeIOExceptionpublic void addAnnotation(int parameter,
Annotation annotation)
public void addAnnotation(int parameter,
ClassAnnotation annotation)
Copyright © 2018. All rights reserved.