Module de.carne.mcd.jvmdecoder
Class LongAnnotationElement
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.AnnotationElementValue
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.LongAnnotationElement
-
- All Implemented Interfaces:
Printable
public class LongAnnotationElement extends AnnotationElementValue
Long annotation element.
-
-
Field Summary
Fields Modifier and Type Field Description static intTAGLong annotation element tag.protected intvalueIndex-
Fields inherited from class de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
classInfo
-
-
Constructor Summary
Constructors Constructor Description LongAnnotationElement(ClassInfo classInfo, int valueIndex)Constructs a new LongAnnotationElement} instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprint(ClassPrinter out, ClassContext context)Prints this instance.java.lang.StringtoString()
-
-
-
Field Detail
-
TAG
public static final int TAG
Long annotation element tag.- See Also:
- Constant Field Values
-
valueIndex
protected final int valueIndex
-
-
Constructor Detail
-
LongAnnotationElement
public LongAnnotationElement(ClassInfo classInfo, int valueIndex)
Constructs a new LongAnnotationElement} instance.- Parameters:
classInfo- the ClassInfo instance this annotation attribute is part of.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.
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-