]> source.dussan.org Git - aspectj.git/commitdiff
278496
authoraclement <aclement>
Thu, 15 Jul 2010 23:23:10 +0000 (23:23 +0000)
committeraclement <aclement>
Thu, 15 Jul 2010 23:23:10 +0000 (23:23 +0000)
org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java
org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java

index bde27c7ae109bdd97fc7b1266b4799cf2e119a4a..5b605ef9658ab597be28ae775de8e1f37e79ac35 100644 (file)
@@ -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;
+       }
 }
index bfcf410ef7769acd9084dc401dbeb60db547234e..64b8d4bb04ba03a4201601614817280ea7437e8a 100644 (file)
@@ -151,4 +151,8 @@ public class ReflectionWorld extends World implements IReflectionWorld {
                return null;
        }
 
+       public boolean isLoadtimeWeaving() {
+               return true;
+       }
+
 }