summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/TypeX.java4
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('.');