From: acolyer Date: Wed, 13 Jul 2005 13:00:59 +0000 (+0000) Subject: new message "a parameterized type pattern may not be used in a handler pointcut expre... X-Git-Tag: PRE_ANDY~8 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=912d51580c0754651e3c18a1a676e94a9f50069c;p=aspectj.git new message "a parameterized type pattern may not be used in a handler pointcut expression" --- diff --git a/weaver/src/org/aspectj/weaver/WeaverMessages.java b/weaver/src/org/aspectj/weaver/WeaverMessages.java index 0399c0cd3..d2050524a 100644 --- a/weaver/src/org/aspectj/weaver/WeaverMessages.java +++ b/weaver/src/org/aspectj/weaver/WeaverMessages.java @@ -128,6 +128,7 @@ public class WeaverMessages { // Generics public static final String CANT_DECP_MULTIPLE_PARAMETERIZATIONS="cantDecpMultipleParameterizations"; + public static final String HANDLER_PCD_DOESNT_SUPPORT_PARAMETERS="noParameterizedTypePatternInHandler"; public static final String INCORRECT_NUMBER_OF_TYPE_ARGUMENTS = "incorrectNumberOfTypeArguments"; public static final String VIOLATES_TYPE_VARIABLE_BOUNDS = "violatesTypeVariableBounds"; diff --git a/weaver/src/org/aspectj/weaver/weaver-messages.properties b/weaver/src/org/aspectj/weaver/weaver-messages.properties index 336b737fd..134e29d3d 100644 --- a/weaver/src/org/aspectj/weaver/weaver-messages.properties +++ b/weaver/src/org/aspectj/weaver/weaver-messages.properties @@ -139,5 +139,6 @@ bindingNonRuntimeRetentionAnnotation=Annotation type {0} does not have runtime r # Generics cantDecpMultipleParameterizations=Cannot declare parent {0} onto type {1} since it already has {2} in its hierarchy +noParameterizedTypePatternInHandler=a parameterized type pattern may not be used in a handler pointcut expression incorrectNumberOfTypeArguments=Wrong number of type arguments; Type {0} requires {1} violatesTypeVariableBounds=Type {0} does not meet the specification for type parameter {1} in generic type {2} \ No newline at end of file