From: aclement Date: Thu, 15 Jul 2010 23:23:10 +0000 (+0000) Subject: 278496 X-Git-Tag: V1_6_10RC1~94 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=4974bbd7e679033c878c09d7a92c0d56a34dfdd7;p=aspectj.git 278496 --- diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java b/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java index bde27c7ae..5b605ef96 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java @@ -20,6 +20,7 @@ import java.net.URLClassLoader; import java.util.Collection; import java.util.Collections; +import org.aspectj.weaver.AjAttribute.WeaverVersionInfo; import org.aspectj.weaver.AnnotationAJ; import org.aspectj.weaver.AnnotationTargetKind; import org.aspectj.weaver.ISourceContext; @@ -33,7 +34,6 @@ import org.aspectj.weaver.UnresolvedType; import org.aspectj.weaver.WeakClassLoaderReference; import org.aspectj.weaver.WeaverStateInfo; import org.aspectj.weaver.World; -import org.aspectj.weaver.AjAttribute.WeaverVersionInfo; import org.aspectj.weaver.patterns.PerClause; /** @@ -413,4 +413,12 @@ public class ReflectionBasedReferenceTypeDelegate implements ReferenceTypeDelega public void ensureConsistent() { } + + public boolean isWeavable() { + return false; + } + + public boolean hasBeenWoven() { + return false; + } } diff --git a/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java b/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java index bfcf410ef..64b8d4bb0 100644 --- a/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java +++ b/org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java @@ -151,4 +151,8 @@ public class ReflectionWorld extends World implements IReflectionWorld { return null; } + public boolean isLoadtimeWeaving() { + return true; + } + }