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