diff options
author | aclement <aclement> | 2005-03-10 12:06:12 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-03-10 12:06:12 +0000 |
commit | 13e2263ead2583b1be4a7329611c45e233d04db0 (patch) | |
tree | 03853e081fed1742f8a71c4162db13adc58135f3 /weaver | |
parent | fbd128789f6891089b0ab012ffbb9342211f3d74 (diff) | |
download | aspectj-13e2263ead2583b1be4a7329611c45e233d04db0.tar.gz aspectj-13e2263ead2583b1be4a7329611c45e233d04db0.zip |
Declare annotation: added @Target as a well known type
Diffstat (limited to 'weaver')
-rw-r--r-- | weaver/src/org/aspectj/weaver/TypeX.java | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/TypeX.java b/weaver/src/org/aspectj/weaver/TypeX.java index b17f7a6fa..2b046a370 100644 --- a/weaver/src/org/aspectj/weaver/TypeX.java +++ b/weaver/src/org/aspectj/weaver/TypeX.java @@ -589,6 +589,7 @@ public class TypeX implements AnnotatedElement { public static final TypeX JAVA_LANG_EXCEPTION = forSignature("Ljava/lang/Exception;"); public static final TypeX JAVA_LANG_REFLECT_METHOD = forSignature("Ljava/lang/reflect/Method;"); public static final TypeX SUPPRESS_AJ_WARNINGS = forSignature("Lorg/aspectj/lang/annotation/SuppressAjWarnings;"); + public static final TypeX AT_TARGET = forSignature("Ljava/lang/annotation/Target;"); // ---- helpers @@ -720,6 +721,9 @@ public class TypeX implements AnnotatedElement { } } + /** + * Doesn't include the package + */ public String getClassName() { String name = getName(); int index = name.lastIndexOf('.'); |