public class PointcutDesignatorHandlerBasedPointcut extends Pointcut
Pointcut.StateAND, ANNOTATION, ARGS, ATARGS, ATTHIS_OR_TARGET, ATWITHIN, ATWITHINCODE, CFLOW, CONCRETE, EMPTY_STRING_ARRAY, HANDLER, hasBeenParameterized, IF, IF_FALSE, IF_TRUE, KINDED, lastMatchedShadowId, m_ignoreUnboundBindingForNames, NONE, NOT, OR, pointcutKind, REFERENCE, RESOLVED, state, SYMBOLIC, THIS_OR_TARGET, USER_EXTENSION, WITHIN, WITHINCODEend, sourceContext, start| Constructor and Description |
|---|
PointcutDesignatorHandlerBasedPointcut(ContextBasedMatcher expr,
World world) |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
accept(PatternNodeVisitor visitor,
java.lang.Object data) |
protected Pointcut |
concretize1(ResolvedType inAspect,
ResolvedType declaringType,
IntMap bindings)
Resolves and removes ReferencePointcuts, replacing with basic ones
|
int |
couldMatchKinds()
The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified
in Shadow.java
|
FuzzyBoolean |
fastMatch(FastMatchInfo info)
Could I match any shadows in the code defined within this type?
|
protected Test |
findResidueInternal(Shadow shadow,
ExposedState state) |
byte |
getPointcutKind() |
protected FuzzyBoolean |
matchInternal(Shadow shadow) |
Pointcut |
parameterizeWith(java.util.Map typeVariableMap,
World w) |
protected void |
resolveBindings(IScope scope,
Bindings bindings) |
void |
write(CompressingDataOutputStream s) |
assertState, check, concretize, concretize, concretize, findResidue, fromString, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, postRead, read, resolve, setTypeVariablesInScope, shouldCopyLocationForConcretizecopyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationpublic PointcutDesignatorHandlerBasedPointcut(ContextBasedMatcher expr, World world)
public byte getPointcutKind()
getPointcutKind in class Pointcutpublic FuzzyBoolean fastMatch(FastMatchInfo info)
Pointcutpublic int couldMatchKinds()
PointcutcouldMatchKinds in class Pointcutprotected FuzzyBoolean matchInternal(Shadow shadow)
matchInternal in class Pointcutprotected void resolveBindings(IScope scope, Bindings bindings)
resolveBindings in class Pointcutprotected Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)
Pointcutconcretize1 in class PointcutinAspect - the aspect to resolve relative tobindings - a Map from formal index in the current lexical context -> formal index in the concrete advice that will run
This must always return a new Pointcut object (even if the concretized Pointcut is identical to the resolved one).
That behavior is assumed in many places. XXX fix implementors to handle stateprotected Test findResidueInternal(Shadow shadow, ExposedState state)
findResidueInternal in class Pointcutpublic Pointcut parameterizeWith(java.util.Map typeVariableMap, World w)
parameterizeWith in class Pointcutpublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in class PatternNodejava.io.IOExceptionpublic java.lang.Object accept(PatternNodeVisitor visitor, java.lang.Object data)
accept in class PatternNode