public class ClassAnnotation extends java.lang.Object implements WritableEntry
Modifier and Type | Field and Description |
---|---|
private java.util.List<AnnotationValue> |
annotationValues |
private java.lang.String |
type |
private int |
typeIndex |
Constructor and Description |
---|
ClassAnnotation(ConstPool constPool,
java.lang.String type,
java.util.List<AnnotationValue> annotationValues) |
Modifier and Type | Method and Description |
---|---|
java.util.List<AnnotationValue> |
getAnnotationValues() |
java.lang.String |
getType() |
void |
write(ByteArrayDataOutputStream stream) |
private final java.lang.String type
private final int typeIndex
private final java.util.List<AnnotationValue> annotationValues
public ClassAnnotation(ConstPool constPool, java.lang.String type, java.util.List<AnnotationValue> annotationValues)
public void write(ByteArrayDataOutputStream stream) throws java.io.IOException
write
in interface WritableEntry
java.io.IOException
public java.lang.String getType()
public java.util.List<AnnotationValue> getAnnotationValues()