From b01c15c44872fe270ebeec4cf0702bbb6f5f7f24 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 8 Jul 2005 09:56:50 +0000 Subject: [PATCH] generics: new message --- weaver/src/org/aspectj/weaver/WeaverMessages.java | 4 ++++ weaver/src/org/aspectj/weaver/weaver-messages.properties | 4 ++++ 2 files changed, 8 insertions(+) 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 -- 2.39.5