Package org.aspectj.weaver.patterns
Class PointcutEvaluationExpenseComparator
java.lang.Object
org.aspectj.weaver.patterns.PointcutEvaluationExpenseComparator
- All Implemented Interfaces:
Comparator<Pointcut>
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Comparator
equals, reversed, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
-
Constructor Details
-
PointcutEvaluationExpenseComparator
public PointcutEvaluationExpenseComparator()
-
-
Method Details
-
compare
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 interfaceComparator<Pointcut>
-