Module de.carne.mcd.jvmdecoder
Class TypeAnnotation
- java.lang.Object
-
- de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.Annotation
-
- de.carne.mcd.jvmdecoder.classfile.attribute.annotation.TypeAnnotation
-
- All Implemented Interfaces:
Printable
public class TypeAnnotation extends Annotation
A type annotation element.
-
-
Field Summary
-
Fields inherited from class de.carne.mcd.jvmdecoder.classfile.ClassInfoElement
classInfo
-
-
Constructor Summary
Constructors Constructor Description TypeAnnotation(ClassInfo classInfo, int typeIndex, java.util.List<AnnotationElement> elements, TypeAnnotationTarget target, TypeAnnotationPath path)Constructs a new TypeAnnotation instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanmatchTargetType(int targetType)-
Methods inherited from class de.carne.mcd.jvmdecoder.classfile.attribute.annotation.Annotation
print
-
-
-
-
Constructor Detail
-
TypeAnnotation
public TypeAnnotation(ClassInfo classInfo, int typeIndex, java.util.List<AnnotationElement> elements, TypeAnnotationTarget target, TypeAnnotationPath path)
Constructs a new TypeAnnotation instance.- Parameters:
classInfo- the ClassInfo instance this annotation attribute is part of.typeIndex- the annotation type index.elements- the annotation elements.target- the annotation target.path- the annotation path.
-
-