Class ClassAnnotation
- java.lang.Object
-
- org.jboss.classfilewriter.annotations.ClassAnnotation
-
- All Implemented Interfaces:
WritableEntry
public class ClassAnnotation extends Object implements WritableEntry
A bytecode representation of a java annotation- Author:
- Stuart Douglas
-
-
Constructor Summary
Constructors Constructor Description ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<AnnotationValue>getAnnotationValues()StringgetType()voidwrite(ByteArrayDataOutputStream stream)
-
-
-
Constructor Detail
-
ClassAnnotation
public ClassAnnotation(ConstPool constPool, String type, List<AnnotationValue> annotationValues)
-
-
Method Detail
-
write
public void write(ByteArrayDataOutputStream stream) throws IOException
- Specified by:
writein interfaceWritableEntry- Throws:
IOException
-
getType
public String getType()
-
getAnnotationValues
public List<AnnotationValue> getAnnotationValues()
-
-