Class TypeAnnotationData


  • public class TypeAnnotationData
    extends java.lang.Object
    JVMS 4.7.20. type_annotation { u1 target_type; union { type_parameter_target; supertype_target; type_parameter_bound_target; empty_target; formal_parameter_target; throws_target; localvar_target; catch_target; offset_target; type_argument_target; } target_info; type_path target_path; u2 type_index; // // u2 num_element_value_pairs; { u2 element_name_index; element_value value; } element_value_pairs[num_element_value_pairs]; }
    • Constructor Detail

      • TypeAnnotationData

        public TypeAnnotationData​(org.openjdk.asmtools.jasm.Argument typeCPX,
                                  boolean invisible)
    • Method Detail

      • getLength

        public int getLength()
      • write

        public void write​(CheckedDataOutputStream out)
                   throws java.io.IOException
        Throws:
        java.io.IOException
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • toString

        public java.lang.String toString​(int tabLevel)
      • add

        public void add​(org.openjdk.asmtools.jasm.AnnotationData.ElemValuePair elemValuePair)
      • tabString

        public default java.lang.String tabString​(int tabLevel)