Package org.aspectj.weaver.patterns

Examples of org.aspectj.weaver.patterns.IfPointcut


    if (expr instanceof FalseLiteral) {
      return IfPointcut.makeIfFalsePointcut(Pointcut.SYMBOLIC);
    } else if (expr instanceof TrueLiteral) {
      return IfPointcut.makeIfTruePointcut(Pointcut.SYMBOLIC);
    } else {
      pointcut = new IfPointcut(new ResolvedMemberImpl(Member.METHOD, UnresolvedType.OBJECT, 0, "if_", "()V"), 0);
    }
    return pointcut;

  }
View Full Code Here


    if (expr instanceof FalseLiteral) {
      return IfPointcut.makeIfFalsePointcut(Pointcut.SYMBOLIC);
    } else if (expr instanceof TrueLiteral) {
      return IfPointcut.makeIfTruePointcut(Pointcut.SYMBOLIC);
    } else {
      pointcut = new IfPointcut(new ResolvedMemberImpl(Member.METHOD, UnresolvedType.OBJECT, 0, "if_", "()V"), 0);
    }
    return pointcut;
   
  }
View Full Code Here

TOP

Related Classes of org.aspectj.weaver.patterns.IfPointcut

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.