Package org.aspectj.weaver.patterns
Class IfPointcut.IfFalsePointcut
java.lang.Object
org.aspectj.weaver.patterns.PatternNode
org.aspectj.weaver.patterns.Pointcut
org.aspectj.weaver.patterns.IfPointcut
org.aspectj.weaver.patterns.IfPointcut.IfFalsePointcut
- All Implemented Interfaces:
IHasPosition
,IHasSourceLocation
- Enclosing class:
- IfPointcut
-
Nested Class Summary
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.IfPointcut
IfPointcut.IfFalsePointcut, IfPointcut.IfTruePointcut
Nested classes/interfaces inherited from class org.aspectj.weaver.patterns.Pointcut
Pointcut.State
-
Field Summary
Fields inherited from class org.aspectj.weaver.patterns.IfPointcut
extraParameterFlags, residueSource, testMethod
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
Fields inherited from class org.aspectj.weaver.patterns.PatternNode
end, sourceContext, start
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
concretize1(ResolvedType inAspect, ResolvedType declaringType, IntMap bindings)
Resolves and removes ReferencePointcuts, replacing with basic onesint
The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.javafastMatch(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)
toString()
void
Methods inherited from class org.aspectj.weaver.patterns.IfPointcut
accept, alwaysTrue, 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 org.aspectj.weaver.patterns.PatternNode
copyLocationFrom, getEnd, getFileName, getSourceContext, getSourceLocation, getStart, readLocation, setLocation, traverse, writeLocation
-
Constructor Details
-
IfFalsePointcut
public IfFalsePointcut()
-
-
Method Details
-
couldMatchKinds
public int couldMatchKinds()Description copied from class:Pointcut
The set of ShadowKinds that this Pointcut could possibly match - an int whose bits are set according to the Kinds specified in Shadow.java- Overrides:
couldMatchKinds
in classIfPointcut
-
alwaysFalse
public boolean alwaysFalse()- Overrides:
alwaysFalse
in classIfPointcut
-
findResidueInternal
Description copied from class:IfPointcut
At each shadow that matched, the residue can be different.- Overrides:
findResidueInternal
in classIfPointcut
-
fastMatch
Description copied from class:Pointcut
Could I match any shadows in the code defined within this type?- Overrides:
fastMatch
in classIfPointcut
-
matchInternal
- Overrides:
matchInternal
in classIfPointcut
-
resolveBindings
- Overrides:
resolveBindings
in classIfPointcut
-
postRead
-
concretize1
Description copied from class:Pointcut
Resolves and removes ReferencePointcuts, replacing with basic ones- Overrides:
concretize1
in classIfPointcut
- 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
- Overrides:
write
in classIfPointcut
- Throws:
IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classIfPointcut
-
toString
- Overrides:
toString
in classIfPointcut
-