src/share/classes/com/sun/tools/javac/code/TargetType.java

changeset 1571
af8417e590f4
parent 1563
bc456436c613
child 2525
2eb010b6cb22
     1.1 --- a/src/share/classes/com/sun/tools/javac/code/TargetType.java	Mon Feb 04 18:08:53 2013 -0500
     1.2 +++ b/src/share/classes/com/sun/tools/javac/code/TargetType.java	Sun Feb 17 16:44:55 2013 -0500
     1.3 @@ -82,34 +82,37 @@
     1.4      /** For annotations on an exception parameter. */
     1.5      EXCEPTION_PARAMETER(0x42, true),
     1.6  
     1.7 -    /** For annotations on a typecast. */
     1.8 -    CAST(0x43, true),
     1.9 -
    1.10      /** For annotations on a type test. */
    1.11 -    INSTANCEOF(0x44, true),
    1.12 +    INSTANCEOF(0x43, true),
    1.13  
    1.14      /** For annotations on an object creation expression. */
    1.15 -    NEW(0x45, true),
    1.16 +    NEW(0x44, true),
    1.17 +
    1.18 +    /** For annotations on a constructor reference receiver. */
    1.19 +    CONSTRUCTOR_REFERENCE(0x45, true),
    1.20 +
    1.21 +    /** For annotations on a method reference receiver. */
    1.22 +    METHOD_REFERENCE(0x46, true),
    1.23 +
    1.24 +    /** For annotations on a typecast. */
    1.25 +    CAST(0x47, true),
    1.26  
    1.27      /** For annotations on a type argument of an object creation expression. */
    1.28 -    CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT(0x46, true),
    1.29 +    CONSTRUCTOR_INVOCATION_TYPE_ARGUMENT(0x48, true),
    1.30  
    1.31      /** For annotations on a type argument of a method call. */
    1.32 -    METHOD_INVOCATION_TYPE_ARGUMENT(0x47, true),
    1.33 +    METHOD_INVOCATION_TYPE_ARGUMENT(0x49, true),
    1.34  
    1.35 -    /** For annotations on a lambda parameter type. */
    1.36 -    LAMBDA_FORMAL_PARAMETER(0x48, true),
    1.37 -
    1.38 -    /** For annotations on a method reference. */
    1.39 -    METHOD_REFERENCE(0x49, true),
    1.40 +    /** For annotations on a type argument of a constructor reference. */
    1.41 +    CONSTRUCTOR_REFERENCE_TYPE_ARGUMENT(0x4A, true),
    1.42  
    1.43      /** For annotations on a type argument of a method reference. */
    1.44 -    METHOD_REFERENCE_TYPE_ARGUMENT(0x50, true),
    1.45 +    METHOD_REFERENCE_TYPE_ARGUMENT(0x4B, true),
    1.46  
    1.47      /** For annotations with an unknown target. */
    1.48      UNKNOWN(0xFF);
    1.49  
    1.50 -    private static final int MAXIMUM_TARGET_TYPE_VALUE = 0x92;
    1.51 +    private static final int MAXIMUM_TARGET_TYPE_VALUE = 0x4B;
    1.52  
    1.53      private final int targetTypeValue;
    1.54      private final boolean isLocal;

mercurial