]> source.dussan.org Git - aspectj.git/commitdiff
Declare annotation: added @Target as a well known type
authoraclement <aclement>
Thu, 10 Mar 2005 12:06:12 +0000 (12:06 +0000)
committeraclement <aclement>
Thu, 10 Mar 2005 12:06:12 +0000 (12:06 +0000)
weaver/src/org/aspectj/weaver/TypeX.java

index b17f7a6fa6a1d5a7fedb362586bd522b6b087b88..2b046a3709c8569d900fa6c74802d4153787f593 100644 (file)
@@ -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('.');