org.aspectj.weaver.patterns
Class IfPointcut.IfTruePointcut
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.Pointcut
org.aspectj.weaver.patterns.IfPointcut
org.aspectj.weaver.patterns.IfPointcut.IfTruePointcut
- All Implemented Interfaces:
- IHasPosition, IHasSourceLocation
- Enclosing class:
- IfPointcut
public static class IfPointcut.IfTruePointcut
- extends IfPointcut
Fields inherited from class org.aspectj.weaver.patterns.Pointcut |
AND, 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, WITHINCODE |
Methods inherited from class org.aspectj.weaver.patterns.IfPointcut |
accept, alwaysFalse, couldMatchKinds, equals, getResidueSource, makeIfFalsePointcut, makeIfTruePointcut, parameterizeWith, read, setAlways, shouldCopyLocationForConcretize |
Methods inherited from class org.aspectj.weaver.patterns.Pointcut |
assertState, check, concretize, concretize, concretize, findResidue, fromString, getPointcutKind, getTypeVariablesInScope, isDeclare, makeMatchesNothing, match, resolve, setTypeVariablesInScope |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
IfPointcut.IfTruePointcut
public IfPointcut.IfTruePointcut()
alwaysTrue
public boolean alwaysTrue()
- Overrides:
alwaysTrue
in class IfPointcut
findResidueInternal
protected Test findResidueInternal(Shadow shadow,
ExposedState state)
- Description copied from class:
IfPointcut
- At each shadow that matched, the residue can be different.
- Overrides:
findResidueInternal
in class IfPointcut
fastMatch
public FuzzyBoolean fastMatch(FastMatchInfo type)
- Description copied from class:
Pointcut
- Could I match any shadows in the code defined within this type?
- Overrides:
fastMatch
in class IfPointcut
matchInternal
protected FuzzyBoolean matchInternal(Shadow shadow)
- Overrides:
matchInternal
in class IfPointcut
resolveBindings
public void resolveBindings(IScope scope,
Bindings bindings)
- Overrides:
resolveBindings
in class IfPointcut
postRead
public void postRead(ResolvedType enclosingType)
- Overrides:
postRead
in class Pointcut
concretize1
public Pointcut concretize1(ResolvedType inAspect,
ResolvedType declaringType,
IntMap bindings)
- Description copied from class:
Pointcut
- Resolves and removes ReferencePointcuts, replacing with basic ones
- Overrides:
concretize1
in class IfPointcut
- Parameters:
inAspect
- 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 state
write
public void write(CompressingDataOutputStream s)
throws java.io.IOException
- Overrides:
write
in class IfPointcut
- Throws:
java.io.IOException
hashCode
public int hashCode()
- Overrides:
hashCode
in class IfPointcut
toString
public java.lang.String toString()
- Overrides:
toString
in class IfPointcut