Class ClassAnnotation

  • All Implemented Interfaces:
    WritableEntry

    public class ClassAnnotation
    extends java.lang.Object
    implements WritableEntry
    A bytecode representation of a java annotation
    • Field Detail

      • type

        private final java.lang.String type
      • typeIndex

        private final int typeIndex
      • annotationValues

        private final java.util.List<AnnotationValue> annotationValues
    • Constructor Detail

      • ClassAnnotation

        public ClassAnnotation​(ConstPool constPool,
                               java.lang.String type,
                               java.util.List<AnnotationValue> annotationValues)
    • Method Detail

      • getType

        public java.lang.String getType()
      • getAnnotationValues

        public java.util.List<AnnotationValue> getAnnotationValues()