From: aclement Date: Fri, 4 Nov 2005 18:00:54 +0000 (+0000) Subject: moved 1.5 dependency to 1.5 module! X-Git-Tag: V1_5_0RC1~246 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=b8b6452001ef25a8f6fb4d49b0a0b95958e8fc1b;p=aspectj.git moved 1.5 dependency to 1.5 module! --- diff --git a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java index 011a180f9..61cf94cf2 100644 --- a/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java +++ b/weaver/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java @@ -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) diff --git a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java index 952fdec08..c1e2d357a 100644 --- a/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java +++ b/weaver5/java5-src/org/aspectj/weaver/reflect/Java15ReflectionBasedReferenceTypeDelegate.java @@ -306,5 +306,10 @@ public class Java15ReflectionBasedReferenceTypeDelegate extends return ret; } + @Override + public boolean isAnonymous() { + return this.myClass.isAnonymousClass(); + } + }