]> source.dussan.org Git - aspectj.git/commitdiff
from branch: rtx's now know whether they are @AJ aspects or not
authoraclement <aclement>
Tue, 19 Apr 2005 12:37:42 +0000 (12:37 +0000)
committeraclement <aclement>
Tue, 19 Apr 2005 12:37:42 +0000 (12:37 +0000)
weaver/src/org/aspectj/weaver/ResolvedTypeX.java

index 865ceb81beac100b748675027ba4942c4f9ed429..05fe9ed9236ce017ade37593fb515d87b9c98ecd 100644 (file)
@@ -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();