]> source.dussan.org Git - aspectj.git/commitdiff
messages for trying to reference a pointcut in a generic type from a raw type reference
authoracolyer <acolyer>
Thu, 18 Aug 2005 09:33:11 +0000 (09:33 +0000)
committeracolyer <acolyer>
Thu, 18 Aug 2005 09:33:11 +0000 (09:33 +0000)
weaver/src/org/aspectj/weaver/WeaverMessages.java
weaver/src/org/aspectj/weaver/weaver-messages.properties

index 969ecacf130573ee1792e38654bd05b1dfe4f42a..7efec186754c58164e18b688c5db5d509def8ab8 100644 (file)
@@ -141,6 +141,8 @@ public class WeaverMessages {
        public static final String WITHINCODE_DOESNT_SUPPORT_PARAMETERIZED_DECLARING_TYPES="noParameterizedDeclaringTypesWithinCode";
        public static final String EXECUTION_DOESNT_SUPPORT_PARAMETERIZED_DECLARING_TYPES="noParameterizedDeclaringTypesInExecution";
        public static final String CALL_DOESNT_SUPPORT_PARAMETERIZED_DECLARING_TYPES="noParameterizedDeclaringTypesInCall";
+       public static final String CANT_REFERENCE_POINTCUT_IN_RAW_TYPE="noRawTypePointcutReferences";
+       
        public static String format(String key) {
                return bundle.getString(key);
        }
index 3dc87fcb08980cc2b2dce6e78716312bd8ba3146..e962215af1d4292df7e0ae3a7ec6cfba0411718d 100644 (file)
@@ -151,4 +151,5 @@ noInitJPsForParameterizedTypes=no [pre]initialization join points for parameteri
 noGenericThrowables=invalid throws pattern: a generic class may not be a direct or indirect subclass of Throwable
 noParameterizedDeclaringTypesWithinCode=can't use parameterized type patterns for the declaring type of a withincode pointcut expression (use the raw type instead)
 noParameterizedDeclaringTypesInExecution=can't use parameterized type patterns for the declaring type of an execution pointcut expression (use the raw type instead)
-noParameterizedDeclaringTypesInCall=can't use parameterized type patterns for the declaring type of a call pointcut expression (use the raw type instead)
\ No newline at end of file
+noParameterizedDeclaringTypesInCall=can't use parameterized type patterns for the declaring type of a call pointcut expression (use the raw type instead)
+noRawTypePointcutReferences=cannot use a raw type reference to refer to a pointcut in a generic type (use a parameterized reference instead)
\ No newline at end of file