Package com.google.turbine.bytecode
Class ClassFile.TypeAnnotationInfo
- java.lang.Object
-
- com.google.turbine.bytecode.ClassFile.TypeAnnotationInfo
-
- Enclosing class:
- ClassFile
public static class ClassFile.TypeAnnotationInfo extends java.lang.ObjectThe contents of a JVMS ยง4.7.20 type annotation structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classClassFile.TypeAnnotationInfo.FormalParameterTargetA JVMS 4.7.20.1 formal_parameter_target.static classClassFile.TypeAnnotationInfo.SuperTypeTargetA JVMS 4.7.20.1 supertype_target.static classClassFile.TypeAnnotationInfo.TargetA JVMS 4.7.20 target_info.static classClassFile.TypeAnnotationInfo.TargetTypeA JVMS 4.7.20 target_type kind.static classClassFile.TypeAnnotationInfo.ThrowsTargetA JVMS 4.7.20.1 throws_target.static classClassFile.TypeAnnotationInfo.TypeParameterBoundTargetA JVMS 4.7.20.1 type_parameter_bound_target.static classClassFile.TypeAnnotationInfo.TypeParameterTargetA JVMS 4.7.20.1 type_parameter_target.static classClassFile.TypeAnnotationInfo.TypePathA JVMS 4.7.20.2 type_path.
-
Field Summary
Fields Modifier and Type Field Description static ClassFile.TypeAnnotationInfo.TargetEMPTY_TARGETA JVMS 4.7.20.1 empty_target.
-
Constructor Summary
Constructors Constructor Description TypeAnnotationInfo(ClassFile.TypeAnnotationInfo.TargetType targetType, ClassFile.TypeAnnotationInfo.Target target, ClassFile.TypeAnnotationInfo.TypePath path, ClassFile.AnnotationInfo anno)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClassFile.AnnotationInfoanno()The underlying annotation info (type, visibility, element-value pairs); shared with declaration annotations.ClassFile.TypeAnnotationInfo.TypePathpath()A JVMS 4.7.20 type_path structure, denotes which part of the type the annotation applies to.ClassFile.TypeAnnotationInfo.Targettarget()A JVMS 4.7.20 target_info structure.ClassFile.TypeAnnotationInfo.TargetTypetargetType()A JVMS 4.7.20 target_type kind, denotes the type context where the annotation appears.
-
-
-
Field Detail
-
EMPTY_TARGET
public static final ClassFile.TypeAnnotationInfo.Target EMPTY_TARGET
A JVMS 4.7.20.1 empty_target.
-
-
Constructor Detail
-
TypeAnnotationInfo
public TypeAnnotationInfo(ClassFile.TypeAnnotationInfo.TargetType targetType, ClassFile.TypeAnnotationInfo.Target target, ClassFile.TypeAnnotationInfo.TypePath path, ClassFile.AnnotationInfo anno)
-
-
Method Detail
-
anno
public ClassFile.AnnotationInfo anno()
The underlying annotation info (type, visibility, element-value pairs); shared with declaration annotations.
-
targetType
public ClassFile.TypeAnnotationInfo.TargetType targetType()
A JVMS 4.7.20 target_type kind, denotes the type context where the annotation appears.
-
target
public ClassFile.TypeAnnotationInfo.Target target()
A JVMS 4.7.20 target_info structure.
-
path
public ClassFile.TypeAnnotationInfo.TypePath path()
A JVMS 4.7.20 type_path structure, denotes which part of the type the annotation applies to.
-
-