summaryrefslogtreecommitdiffstats
path: root/org.aspectj.matcher
diff options
context:
space:
mode:
authoraclement <aclement>2010-07-15 23:23:10 +0000
committeraclement <aclement>2010-07-15 23:23:10 +0000
commit4974bbd7e679033c878c09d7a92c0d56a34dfdd7 (patch)
treeb2f859f33d54202c7e10d6c749fab7365b140fd3 /org.aspectj.matcher
parentc320a727941abbee6367d25e4f343ea174c6b2c6 (diff)
downloadaspectj-4974bbd7e679033c878c09d7a92c0d56a34dfdd7.tar.gz
aspectj-4974bbd7e679033c878c09d7a92c0d56a34dfdd7.zip
278496
Diffstat (limited to 'org.aspectj.matcher')
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegate.java10
-rw-r--r--org.aspectj.matcher/src/org/aspectj/weaver/reflect/ReflectionWorld.java4
2 files changed, 13 insertions, 1 deletions
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;
+ }
+
}