Class PointcutEvaluationExpenseComparator

java.lang.Object
org.aspectj.weaver.patterns.PointcutEvaluationExpenseComparator
All Implemented Interfaces:
Comparator<Pointcut>

public class PointcutEvaluationExpenseComparator extends Object implements Comparator<Pointcut>
  • Constructor Details

    • PointcutEvaluationExpenseComparator

      public PointcutEvaluationExpenseComparator()
  • Method Details

    • compare

      public int compare(Pointcut p1, Pointcut p2)
      Compare 2 pointcuts based on an estimate of how expensive they may be to evaluate. within @within staticinitialization [make sure this has a fast match method] adviceexecution handler get, set withincode @withincode execution, initialization, preinitialization call @annotation this, target @this, @target args @args cflow, cflowbelow if
      Specified by:
      compare in interface Comparator<Pointcut>