< prev index next >

src/java.base/share/classes/jdk/internal/org/objectweb/asm/Opcodes.java

Print this page




  79     int ASM6 = 6 << 16 | 0 << 8;
  80     int ASM7 = 7 << 16 | 0 << 8;
  81 
  82     // Java ClassFile versions (the minor version is stored in the 16 most
  83     // significant bits, and the
  84     // major version in the 16 least significant bits).
  85 
  86     int V1_1 = 3 << 16 | 45;
  87     int V1_2 = 0 << 16 | 46;
  88     int V1_3 = 0 << 16 | 47;
  89     int V1_4 = 0 << 16 | 48;
  90     int V1_5 = 0 << 16 | 49;
  91     int V1_6 = 0 << 16 | 50;
  92     int V1_7 = 0 << 16 | 51;
  93     int V1_8 = 0 << 16 | 52;
  94     int V9 = 0 << 16 | 53;
  95     int V10 = 0 << 16 | 54;
  96     int V11 = 0 << 16 | 55;
  97     int V12 = 0 << 16 | 56;
  98     int V13 = 0 << 16 | 57;
  99     int V14 = 0 << 16 | 58;
 100 
 101     /**
 102       * Version flag indicating that the class is using 'preview' features.
 103       *
 104       * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code
 105       * V_PREVIEW}.
 106       */
 107     int V_PREVIEW = 0xFFFF0000;
 108 
 109     // Access flags values, defined in
 110     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
 111     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1
 112     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1
 113     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25
 114 
 115     int ACC_PUBLIC = 0x0001; // class, field, method
 116     int ACC_PRIVATE = 0x0002; // class, field, method
 117     int ACC_PROTECTED = 0x0004; // class, field, method
 118     int ACC_STATIC = 0x0008; // field, method
 119     int ACC_FINAL = 0x0010; // class, field, method, parameter




  79     int ASM6 = 6 << 16 | 0 << 8;
  80     int ASM7 = 7 << 16 | 0 << 8;
  81 
  82     // Java ClassFile versions (the minor version is stored in the 16 most
  83     // significant bits, and the
  84     // major version in the 16 least significant bits).
  85 
  86     int V1_1 = 3 << 16 | 45;
  87     int V1_2 = 0 << 16 | 46;
  88     int V1_3 = 0 << 16 | 47;
  89     int V1_4 = 0 << 16 | 48;
  90     int V1_5 = 0 << 16 | 49;
  91     int V1_6 = 0 << 16 | 50;
  92     int V1_7 = 0 << 16 | 51;
  93     int V1_8 = 0 << 16 | 52;
  94     int V9 = 0 << 16 | 53;
  95     int V10 = 0 << 16 | 54;
  96     int V11 = 0 << 16 | 55;
  97     int V12 = 0 << 16 | 56;
  98     int V13 = 0 << 16 | 57;

  99 
 100     /**
 101       * Version flag indicating that the class is using 'preview' features.
 102       *
 103       * <p>{@code version & V_PREVIEW == V_PREVIEW} tests if a version is flagged with {@code
 104       * V_PREVIEW}.
 105       */
 106     int V_PREVIEW = 0xFFFF0000;
 107 
 108     // Access flags values, defined in
 109     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.1-200-E.1
 110     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.5-200-A.1
 111     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.6-200-A.1
 112     // - https://docs.oracle.com/javase/specs/jvms/se9/html/jvms-4.html#jvms-4.7.25
 113 
 114     int ACC_PUBLIC = 0x0001; // class, field, method
 115     int ACC_PRIVATE = 0x0002; // class, field, method
 116     int ACC_PROTECTED = 0x0004; // class, field, method
 117     int ACC_STATIC = 0x0008; // field, method
 118     int ACC_FINAL = 0x0010; // class, field, method, parameter


< prev index next >