From 4974bbd7e679033c878c09d7a92c0d56a34dfdd7 Mon Sep 17 00:00:00 2001 From: aclement Date: Thu, 15 Jul 2010 23:23:10 +0000 Subject: [PATCH] 278496 --- .../reflect/ReflectionBasedReferenceTypeDelegate.java | 10 +++++++++- .../org/aspectj/weaver/reflect/ReflectionWorld.java | 4 ++++ 2 files changed, 13 insertions(+), 1 deletion(-) 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; + } + } -- 2.39.5