diff options
author | aclement <aclement> | 2004-12-02 10:29:06 +0000 |
---|---|---|
committer | aclement <aclement> | 2004-12-02 10:29:06 +0000 |
commit | e14deaf15a8c29442419027c56e29fab8c1c229f (patch) | |
tree | fcf93abb6ee2d63b766dbb79bc50fbc9442d8c13 /weaver | |
parent | d2fb8b7a3122f1e8816cf888b02643d5b31f9c3b (diff) | |
download | aspectj-e14deaf15a8c29442419027c56e29fab8c1c229f.tar.gz aspectj-e14deaf15a8c29442419027c56e29fab8c1c229f.zip |
72766 - messages output when preventing ITDs on enums/annotations
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/WeaverMessages.java | 8 | ||||
-rw-r--r-- | weaver/src/org/aspectj/weaver/weaver-messages.properties | 14 |
2 files changed, 22 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/WeaverMessages.java b/weaver/src/org/aspectj/weaver/WeaverMessages.java index df2f90376..dac3f3fb4 100644 --- a/weaver/src/org/aspectj/weaver/WeaverMessages.java +++ b/weaver/src/org/aspectj/weaver/WeaverMessages.java @@ -95,12 +95,20 @@ public class WeaverMessages { public static final String DIRECTORY_ENTRY_MISSING = "directoryEntryMissing"; public static final String OUTJAR_IN_INPUT_PATH = "outjarInInputPath"; + public static final String XLINT_LOAD_ERROR = "problemLoadingXLint"; public static final String XLINTDEFAULT_LOAD_ERROR = "unableToLoadXLintDefault"; public static final String XLINTDEFAULT_LOAD_PROBLEM = "errorLoadingXLintDefault"; public static final String XLINT_KEY_ERROR = "invalidXLintKey"; public static final String XLINT_VALUE_ERROR = "invalidXLintMessageKind"; + // Java5 messages + 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 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 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 97a7e754d..fa19b4a80 100644 --- a/weaver/src/org/aspectj/weaver/weaver-messages.properties +++ b/weaver/src/org/aspectj/weaver/weaver-messages.properties @@ -107,3 +107,17 @@ unableToLoadXLintDefault=couldn''t load XlintDefault.properties errorLoadingXLintDefault=problem loading XlintDefault.properties, {0} invalidXLintKey=invalid Xlint key: {0} invalidXLintMessageKind=invalid Xlint message kind (must be one of ignore, warning, error): {0} + +# Java5 + +# Enum +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 + +# Enum +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 + + |