From: aclement Date: Fri, 8 Jul 2005 09:56:50 +0000 (+0000) Subject: generics: new message X-Git-Tag: PRE_ANDY~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b01c15c44872fe270ebeec4cf0702bbb6f5f7f24;p=aspectj.git generics: new message --- diff --git a/weaver/src/org/aspectj/weaver/WeaverMessages.java b/weaver/src/org/aspectj/weaver/WeaverMessages.java index 1037afdbb..0030f8bd7 100644 --- a/weaver/src/org/aspectj/weaver/WeaverMessages.java +++ b/weaver/src/org/aspectj/weaver/WeaverMessages.java @@ -125,6 +125,10 @@ public class WeaverMessages { public static final String INCORRECT_TARGET_FOR_DECLARE_ANNOTATION = "incorrectTargetForDeclareAnnotation"; + + // Generics + public static final String CANT_DECP_MULTIPLE_PARAMETERIZATIONS="cantDecpMultipleParameterizations"; + 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 32957a57b..2fcc78c7a 100644 --- a/weaver/src/org/aspectj/weaver/weaver-messages.properties +++ b/weaver/src/org/aspectj/weaver/weaver-messages.properties @@ -135,3 +135,7 @@ incorrectTargetForDeclareAnnotation={0} is not a valid target for annotation {1} referenceToNonAnnotationType=Type referred to is not an annotation type: {0} bindingNonRuntimeRetentionAnnotation=Annotation type {0} does not have runtime retention + + +# Generics +cantDecpMultipleParameterizations=Cannot declare parent {0} onto type {1} since it already has {2} in its hierarchy