Class ClassFile.AnnotationInfo

  • Enclosing class:
    ClassFile

    public static class ClassFile.AnnotationInfo
    extends java.lang.Object
    The contents of a JVMS §4.7.16 annotation structure.
    • 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.