public class AnnotationsAttribute extends Attribute
Modifier and Type | Class and Description |
---|---|
static class |
AnnotationsAttribute.Type |
Constructor and Description |
---|
AnnotationsAttribute(AnnotationsAttribute.Type type,
ConstPool constPool) |
Modifier and Type | Method and 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 Attribute
IOException
public void addAnnotation(Annotation annotation)
public void addAnnotation(ClassAnnotation annotation)
Copyright © 2018 JBoss by Red Hat. All rights reserved.