summaryrefslogtreecommitdiffstats
path: root/weaver
diff options
context:
space:
mode:
authoraclement <aclement>2004-12-02 10:29:32 +0000
committeraclement <aclement>2004-12-02 10:29:32 +0000
commitbbfea3bdfa9eddd1121791f46e63794175e63786 (patch)
treebd8bd645a16145707ecdf2e47737817aa733eea4 /weaver
parente14deaf15a8c29442419027c56e29fab8c1c229f (diff)
downloadaspectj-bbfea3bdfa9eddd1121791f46e63794175e63786.tar.gz
aspectj-bbfea3bdfa9eddd1121791f46e63794175e63786.zip
72766 - helper methods for identifying enums/annotations that call the BCEL stuff i wrote.
Diffstat (limited to 'weaver')
-rw-r--r--weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
index 0b4bd9c7c..07f1cc76e 100644
--- a/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
+++ b/weaver/src/org/aspectj/weaver/bcel/BcelObjectType.java
@@ -282,6 +282,14 @@ public class BcelObjectType extends ResolvedTypeX.ConcreteName {
return javaClass.isInterface();
}
+ public boolean isEnum() {
+ return javaClass.isEnum();
+ }
+
+ public boolean isAnnotation() {
+ return javaClass.isAnnotation();
+ }
+
public boolean isSynthetic() {
return getResolvedTypeX().isSynthetic();
}