]> source.dussan.org Git - aspectj.git/commitdiff
231396: refactoring AspectJ: used cheaper variant of method() creation
authoraclement <aclement>
Fri, 6 Jun 2008 04:22:02 +0000 (04:22 +0000)
committeraclement <aclement>
Fri, 6 Jun 2008 04:22:02 +0000 (04:22 +0000)
weaver/src/org/aspectj/weaver/patterns/ConcreteCflowPointcut.java

index 1645b7a2e2bf6ba1aba5ea887c14a35791a94a93..65b3c8e4c0431614cd8ef40696d0fbd4ad522362 100644 (file)
@@ -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) {