Package com.google.turbine.bytecode
Class ClassFile.AnnotationInfo
- java.lang.Object
-
- com.google.turbine.bytecode.ClassFile.AnnotationInfo
-
- Enclosing class:
- ClassFile
public static class ClassFile.AnnotationInfo extends java.lang.ObjectThe contents of a JVMS §4.7.16 annotation structure.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceClassFile.AnnotationInfo.ElementValueA value of a JVMS §4.7.16.1 element-value pair.
-
Constructor Summary
Constructors Constructor Description AnnotationInfo(java.lang.String typeName, boolean runtimeVisible, java.util.Map<java.lang.String,ClassFile.AnnotationInfo.ElementValue> elementValuePairs)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,ClassFile.AnnotationInfo.ElementValue>elementValuePairs()The element-value pairs of the annotation.booleanisRuntimeVisible()Returns true if the annotation is visible at runtime.java.lang.StringtypeName()The JVMS §4.3.2 field descriptor for the type of the annotation.
-
-
-
Constructor Detail
-
AnnotationInfo
public AnnotationInfo(java.lang.String typeName, boolean runtimeVisible, java.util.Map<java.lang.String,ClassFile.AnnotationInfo.ElementValue> elementValuePairs)
-
-
Method Detail
-
typeName
public java.lang.String typeName()
The JVMS §4.3.2 field descriptor for the type of the annotation.
-
isRuntimeVisible
public boolean isRuntimeVisible()
Returns true if the annotation is visible at runtime.
-
elementValuePairs
public java.util.Map<java.lang.String,ClassFile.AnnotationInfo.ElementValue> elementValuePairs()
The element-value pairs of the annotation.
-
-