summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraclement <aclement>2008-06-06 04:22:02 +0000
committeraclement <aclement>2008-06-06 04:22:02 +0000
commit611c03484bff409ec0f4910bfc65d4999d0f73be (patch)
treeb5eb09f672af539cf6bce60cef34e639675b1e28
parentf3ca71937c326b7d10d4bbd17d5b48350ebf2ad6 (diff)
downloadaspectj-611c03484bff409ec0f4910bfc65d4999d0f73be.tar.gz
aspectj-611c03484bff409ec0f4910bfc65d4999d0f73be.zip
231396: refactoring AspectJ: used cheaper variant of method() creation
-rw-r--r--weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java5
1 files changed, 3 insertions, 2 deletions
diff --git a/weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java b/weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java
index 1645b7a2e..65b3c8e4c 100644
--- a/weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java
+++ b/weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java
@@ -28,6 +28,7 @@ import org.aspectj.weaver.MemberImpl;
import org.aspectj.weaver.NameMangler;
import org.aspectj.weaver.ResolvedType;
import org.aspectj.weaver.Shadow;
+import org.aspectj.weaver.UnresolvedType;
import org.aspectj.weaver.WeaverMessages;
import org.aspectj.weaver.World;
import org.aspectj.weaver.ast.Expr;
@@ -134,10 +135,10 @@ public class ConcreteCflowPointcut extends Pointcut {
}
private static final Member cflowStackIsValidMethod =
- MemberImpl.method(NameMangler.CFLOW_STACK_UNRESOLVEDTYPE, 0, "isValid", "()Z");
+ MemberImpl.method(NameMangler.CFLOW_STACK_UNRESOLVEDTYPE, 0, ResolvedType.BOOLEAN,"isValid", UnresolvedType.NONE);
private static final Member cflowCounterIsValidMethod =
- MemberImpl.method(NameMangler.CFLOW_COUNTER_UNRESOLVEDTYPE, 0, "isValid", "()Z");
+ MemberImpl.method(NameMangler.CFLOW_COUNTER_UNRESOLVEDTYPE, 0,ResolvedType.BOOLEAN, "isValid", UnresolvedType.NONE);
public Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings) {