summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracolyer <acolyer>2005-07-13 13:00:59 +0000
committeracolyer <acolyer>2005-07-13 13:00:59 +0000
commit912d51580c0754651e3c18a1a676e94a9f50069c (patch)
treefcace115c2aefb84d6902a347995378d17e9a0a3
parenteb6c76d2789f5c8634dc56a5d156559f5569407f (diff)
downloadaspectj-912d51580c0754651e3c18a1a676e94a9f50069c.tar.gz
aspectj-912d51580c0754651e3c18a1a676e94a9f50069c.zip
new message "a parameterized type pattern may not be used in a handler pointcut expression"
-rw-r--r--weaver/src/org/aspectj/weaver/WeaverMessages.java1
-rw-r--r--weaver/src/org/aspectj/weaver/weaver-messages.properties1
2 files changed, 2 insertions, 0 deletions
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