Module de.carne.mcd.jvmdecoder
Class ClassAnnotationElement
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.AnnotationElementValue
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.ClassAnnotationElement
-
- All Implemented Interfaces:
Printable
public class ClassAnnotationElement extends AnnotationElementValue
Class annotation element.
-
-
Field Summary
Fields Modifier and Type Field Description static intTAGClass annotation element tag.-
Fields inherited from class de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
classInfo
-
-
Constructor Summary
Constructors Constructor Description ClassAnnotationElement(ClassInfo classInfo, int descriptorIndex)Constructs a new ClassAnnotationElement} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprint(ClassPrinter out, ClassContext context)Prints this instance.
-
-
-
Field Detail
-
TAG
public static final int TAG
Class annotation element tag.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ClassAnnotationElement
public ClassAnnotationElement(ClassInfo classInfo, int descriptorIndex)
Constructs a new ClassAnnotationElement} instance.- Parameters:
classInfo- the ClassInfo instance this annotation attribute is part of.descriptorIndex- the annotation element value index.
-
-
Method Detail
-
print
public void print(ClassPrinter out, ClassContext context) throws java.io.IOException
Description copied from interface:PrintablePrints this instance.- Parameters:
out- the ClassPrinter instance to print to.context- the context of this print invocation.- Throws:
java.io.IOException- if an I/O error occurs.
-
-