diff options
author | aclement <aclement> | 2005-04-19 12:37:42 +0000 |
---|---|---|
committer | aclement <aclement> | 2005-04-19 12:37:42 +0000 |
commit | 97df6c7a2851cd5b0860406699c7358bf15fed16 (patch) | |
tree | b24b78baf29c00438881fe24a39136b7fceff39b | |
parent | bbaf5ab3c6af380e43920e6e38de0d3f0323a546 (diff) | |
download | aspectj-97df6c7a2851cd5b0860406699c7358bf15fed16.tar.gz aspectj-97df6c7a2851cd5b0860406699c7358bf15fed16.zip |
from branch: rtx's now know whether they are @AJ aspects or not
-rw-r--r-- | weaver/src/org/aspectj/weaver/ResolvedTypeX.java | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java index 865ceb81b..05fe9ed92 100644 --- a/weaver/src/org/aspectj/weaver/ResolvedTypeX.java +++ b/weaver/src/org/aspectj/weaver/ResolvedTypeX.java @@ -514,7 +514,11 @@ public abstract class ResolvedTypeX extends TypeX implements AnnotatedElement { public boolean isAspect() { return false; } - + + public boolean isAnnotationStyleAspect() { + return false; + } + /** * Note: Only overridden by Name subtype. */ @@ -659,7 +663,11 @@ public abstract class ResolvedTypeX extends TypeX implements AnnotatedElement { public boolean isAspect() { return delegate.isAspect(); } - + + public boolean isAnnotationStyleAspect() { + return delegate.isAnnotationStyleAspect(); + } + public boolean isEnum() { return delegate.isEnum(); } @@ -817,6 +825,7 @@ public abstract class ResolvedTypeX extends TypeX implements AnnotatedElement { } public abstract boolean isAspect(); + public abstract boolean isAnnotationStyleAspect(); public abstract boolean isInterface(); public abstract boolean isEnum(); public abstract boolean isAnnotation(); |