Module de.carne.mcd.jvmdecoder
Class ArrayAnnotationElement
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.AnnotationElementValue
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.ArrayAnnotationElement
-
- All Implemented Interfaces:
Printable
public class ArrayAnnotationElement extends AnnotationElementValue
Array annotation element.
-
-
Field Summary
Fields Modifier and Type Field Description static intTAGArray annotation element tag.-
Fields inherited from class de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
classInfo
-
-
Constructor Summary
Constructors Constructor Description ArrayAnnotationElement(ClassInfo classInfo, java.util.List<AnnotationElementValue> elementValues)Constructs a new ArrayAnnotationElement 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
Array annotation element tag.- See Also:
- Constant Field Values
-
-
Constructor Detail
-
ArrayAnnotationElement
public ArrayAnnotationElement(ClassInfo classInfo, java.util.List<AnnotationElementValue> elementValues)
Constructs a new ArrayAnnotationElement instance.- Parameters:
classInfo- the ClassInfo instance this annotation attribute is part of.elementValues- the array annotation elements.
-
-
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.
-
-