From 98aa6da15b8b4876fa697946c34f1419c79caeb7 Mon Sep 17 00:00:00 2001 From: aclement Date: Fri, 10 Dec 2004 13:32:03 +0000 Subject: [PATCH] All the new enum/annotation messages --- weaver/src/org/aspectj/weaver/WeaverMessages.java | 6 ++++++ weaver/src/org/aspectj/weaver/weaver-messages.properties | 8 +++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/weaver/src/org/aspectj/weaver/WeaverMessages.java b/weaver/src/org/aspectj/weaver/WeaverMessages.java index 4cb4da5b7..8aaa2e215 100644 --- a/weaver/src/org/aspectj/weaver/WeaverMessages.java +++ b/weaver/src/org/aspectj/weaver/WeaverMessages.java @@ -106,9 +106,15 @@ public class WeaverMessages { public static final String ITDC_ON_ENUM_NOT_ALLOWED = "itdcOnEnumNotAllowed"; public static final String ITDM_ON_ENUM_NOT_ALLOWED = "itdmOnEnumNotAllowed"; public static final String ITDF_ON_ENUM_NOT_ALLOWED = "itdfOnEnumNotAllowed"; + public static final String CANT_DECP_ON_ENUM_TO_IMPL_INTERFACE = "cantDecpOnEnumToImplInterface"; + public static final String CANT_DECP_ON_ENUM_TO_EXTEND_CLASS = "cantDecpOnEnumToExtendClass"; + public static final String CANT_DECP_TO_MAKE_ENUM_SUPERTYPE = "cantDecpToMakeEnumSupertype"; public static final String ITDC_ON_ANNOTATION_NOT_ALLOWED = "itdcOnAnnotationNotAllowed"; public static final String ITDM_ON_ANNOTATION_NOT_ALLOWED = "itdmOnAnnotationNotAllowed"; public static final String ITDF_ON_ANNOTATION_NOT_ALLOWED = "itdfOnAnnotationNotAllowed"; + public static final String CANT_DECP_ON_ANNOTATION_TO_IMPL_INTERFACE = "cantDecpOnAnnotationToImplInterface"; + public static final String CANT_DECP_ON_ANNOTATION_TO_EXTEND_CLASS = "cantDecpOnAnnotationToExtendClass"; + public static final String CANT_DECP_TO_MAKE_ANNOTATION_SUPERTYPE = "cantDecpToMakeAnnotationSupertype"; public static final String REFERENCE_TO_NON_ANNOTATION_TYPE = "referenceToNonAnnotationType"; public static final String BINDING_NON_RUNTIME_RETENTION_ANNOTATION = "bindingNonRuntimeRetentionAnnotation"; diff --git a/weaver/src/org/aspectj/weaver/weaver-messages.properties b/weaver/src/org/aspectj/weaver/weaver-messages.properties index 440faa772..e3e7c9c7f 100644 --- a/weaver/src/org/aspectj/weaver/weaver-messages.properties +++ b/weaver/src/org/aspectj/weaver/weaver-messages.properties @@ -114,11 +114,17 @@ invalidXLintMessageKind=invalid Xlint message kind (must be one of ignore, warni itdcOnEnumNotAllowed=can''t make inter-type constructor declarations on enum types itdmOnEnumNotAllowed=can''t make inter-type method declarations on enum types itdfOnEnumNotAllowed=can''t make inter-type field declarations on enum types +cantDecpOnEnumToImplInterface=can''t use declare parents to make enum type {0} implement an interface +cantDecpOnEnumToExtendClass=can''t use declare parents to alter supertype of enum type {0} +cantDecpToMakeEnumSupertype=can''t use declare parents to make ''java.lang.Enum'' the parent of type {0} -# Enum +# Annotation itdcOnAnnotationNotAllowed=can''t make inter-type constructor declarations on annotation types itdmOnAnnotationNotAllowed=can''t make inter-type method declarations on annotation types itdfOnAnnotationNotAllowed=can''t make inter-type field declarations on annotation types +cantDecpOnAnnotationToImplInterface=can''t use declare parents to make annotation type {0} implement an interface +cantDecpOnAnnotationToExtendClass=can''t use declare parents to alter supertype of annotation type {0} +cantDecpToMakeAnnotationSupertype=can''t use declare parents to make ''java.lang.annotation.Annotation'' the parent of type {0} referenceToNonAnnotationType=Type referred to is not an annotation type: {0} bindingNonRuntimeRetentionAnnotation=Annotation type {0} does not have runtime retention -- 2.39.5