]> source.dussan.org Git - aspectj.git/commitdiff
moved 1.5 dependency to 1.5 module!
authoraclement <aclement>
Fri, 4 Nov 2005 18:00:54 +0000 (18:00 +0000)
committeraclement <aclement>
Fri, 4 Nov 2005 18:00:54 +0000 (18:00 +0000)
weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java
weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java

index 011a180f903bef0029c358202e8ae5a44c31a352..61cf94cf261a5e8ac33a28e49bb6fc2a9e30bf41 100644 (file)
@@ -36,7 +36,7 @@ import org.aspectj.weaver.patterns.PerClause;
  */
 public class ReflectionBasedReferenceTypeDelegate implements ReferenceTypeDelegate {
 
-       private Class myClass = null;
+       protected Class myClass = null;
        private World world;
        private ReferenceType resolvedType;
        private ResolvedMember[] fields = null;
@@ -148,7 +148,7 @@ public class ReflectionBasedReferenceTypeDelegate implements ReferenceTypeDelega
        }
        
        public boolean isAnonymous() {
-               return this.myClass.isAnonymousClass();
+               return false;
        }
 
        /* (non-Javadoc)
index 952fdec08e61099de7c4eb21be55ec43bc21e87e..c1e2d357a73a97dc596a868ffc234f7d6d241972 100644 (file)
@@ -306,5 +306,10 @@ public class Java15ReflectionBasedReferenceTypeDelegate extends
                return ret;
        }
 
+       @Override
+       public boolean isAnonymous() {          
+               return this.myClass.isAnonymousClass();
+       }
+
 }