public static class IfPointcut.IfTruePointcut extends IfPointcut
IfPointcut.IfFalsePointcut, IfPointcut.IfTruePointcutPointcut.StateextraParameterFlags, residueSource, testMethodAND, 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 |
|---|
IfTruePointcut() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
alwaysTrue() |
Pointcut |
concretize1(ResolvedType inAspect,
ResolvedType declaringType,
IntMap bindings)
Resolves and removes ReferencePointcuts, replacing with basic ones
|
FuzzyBoolean |
fastMatch(FastMatchInfo type)
Could I match any shadows in the code defined within this type?
|
protected Test |
findResidueInternal(Shadow shadow,
ExposedState state)
At each shadow that matched, the residue can be different.
|
int |
hashCode() |
protected FuzzyBoolean |
matchInternal(Shadow shadow) |
void |
postRead(ResolvedType enclosingType) |
void |
resolveBindings(IScope scope,
Bindings bindings) |
java.lang.String |
toString() |
void |
write(CompressingDataOutputStream s) |
accept, alwaysFalse, couldMatchKinds, equals, getResidueSource, makeIfFalsePointcut, makeIfTruePointcut, parameterizeWith, read, setAlways, shouldCopyLocationForConcretizeassertState, check, concretize, concretize, concretize, findResidue, fromString, getPointcutKind, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, resolve, setTypeVariablesInScopecopyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocationpublic boolean alwaysTrue()
alwaysTrue in class IfPointcutprotected Test findResidueInternal(Shadow shadow, ExposedState state)
IfPointcutfindResidueInternal in class IfPointcutpublic FuzzyBoolean fastMatch(FastMatchInfo type)
PointcutfastMatch in class IfPointcutprotected FuzzyBoolean matchInternal(Shadow shadow)
matchInternal in class IfPointcutpublic void resolveBindings(IScope scope, Bindings bindings)
resolveBindings in class IfPointcutpublic void postRead(ResolvedType enclosingType)
public Pointcut concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)
Pointcutconcretize1 in class IfPointcutinAspect - 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 statepublic void write(CompressingDataOutputStream s) throws java.io.IOException
write in class IfPointcutjava.io.IOExceptionpublic int hashCode()
hashCode in class IfPointcutpublic java.lang.String toString()
toString in class IfPointcut