From: aclement Date: Tue, 12 Jul 2005 13:58:17 +0000 (+0000) Subject: generics: new error messages. X-Git-Tag: PRE_ANDY~19 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=9e27931e62facfd9a5ea3edfb956056c6900ee59;p=aspectj.git generics: new error messages. --- diff --git a/weaver/src/org/aspectj/weaver/WeaverMessages.java b/weaver/src/org/aspectj/weaver/WeaverMessages.java index 0030f8bd7..0399c0cd3 100644 --- a/weaver/src/org/aspectj/weaver/WeaverMessages.java +++ b/weaver/src/org/aspectj/weaver/WeaverMessages.java @@ -128,6 +128,8 @@ public class WeaverMessages { // Generics public static final String CANT_DECP_MULTIPLE_PARAMETERIZATIONS="cantDecpMultipleParameterizations"; + public static final String INCORRECT_NUMBER_OF_TYPE_ARGUMENTS = "incorrectNumberOfTypeArguments"; + public static final String VIOLATES_TYPE_VARIABLE_BOUNDS = "violatesTypeVariableBounds"; public static String format(String key) { return bundle.getString(key); diff --git a/weaver/src/org/aspectj/weaver/weaver-messages.properties b/weaver/src/org/aspectj/weaver/weaver-messages.properties index 2fcc78c7a..336b737fd 100644 --- a/weaver/src/org/aspectj/weaver/weaver-messages.properties +++ b/weaver/src/org/aspectj/weaver/weaver-messages.properties @@ -139,3 +139,5 @@ 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 +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