Module de.carne.mcd.jvmdecoder
Class EnumAnnotationElement
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.AnnotationElementValue
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.EnumAnnotationElement
-
- All Implemented Interfaces:
Printable
public class EnumAnnotationElement extends AnnotationElementValue
Enum annotation element.
-
-
Field Summary
Fields Modifier and Type Field Description static intTAGEnum annotation element tag.-
Fields inherited from class de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
classInfo
-
-
Constructor Summary
Constructors Constructor Description EnumAnnotationElement(ClassInfo classInfo, int nameIndex, int valueIndex)Constructs a new EnumAnnotationElement} 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
Enum annotation element tag.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
EnumAnnotationElement
public EnumAnnotationElement(ClassInfo classInfo, int nameIndex, int valueIndex)
Constructs a new EnumAnnotationElement} instance.- Parameters:
classInfo- the ClassInfo instance this annotation attribute is part of.nameIndex- the annotation element name index.valueIndex- 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.
-
-