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