MatchingContext
| Modifier and Type | Method and Description |
|---|---|
| public boolean | couldMatchJoinPointsInType(Class<T> aClass)
Deprecated
use couldMatchJoinPointsInType(Class,MatchingContext) instead
return true iff this matcher could ever match
a join point in the given type
|
| public boolean | couldMatchJoinPointsInType(Class<T> aClass, MatchingContext matchContext)
return true iff this matcher could ever match a join point in the given type, may also use any match context information available |
| public boolean | matchesDynamically(MatchingContext matchContext)
Called during processing of ShadowMatch.matchesJoinPoint when matchesStatically returned FuzzyBoolean.MAYBE. |
| public FuzzyBoolean | matchesStatically(MatchingContext matchContext)
Return FuzzyBoolean.YES if a join point with the given matching context is always matched. |
| public boolean | mayNeedDynamicTest()
return true if matchesStatically can ever return FuzzyBoolean.MAYBE (necessitating a per-join point test to determine matching at a given join point). |
| couldMatchJoinPointsInType | back to summary |
|---|---|
| public boolean couldMatchJoinPointsInType(Class<T> aClass)
Deprecated use couldMatchJoinPointsInType(Class,MatchingContext) instead return true iff this matcher could ever match a join point in the given type | |
| couldMatchJoinPointsInType | back to summary |
|---|---|
| public boolean couldMatchJoinPointsInType(Class<T> aClass, MatchingContext matchContext) return true iff this matcher could ever match a join point in the given type, may also use any match context information available
| |
| matchesDynamically | back to summary |
|---|---|
| public boolean matchesDynamically(MatchingContext matchContext) Called during processing of ShadowMatch.matchesJoinPoint when matchesStatically returned FuzzyBoolean.MAYBE. | |
| matchesStatically | back to summary |
|---|---|
| public FuzzyBoolean matchesStatically(MatchingContext matchContext) Return FuzzyBoolean.YES if a join point with the given matching context is always matched. Return FuzzyBoolean.NO if a join point with the given matching context is never matched. Return FuzzyBoolean.MAYBE if a match cannot be determined statically (whilst generating a ShadowMatch), and must be determined on a per-join point basis. | |
| mayNeedDynamicTest | back to summary |
|---|---|
| public boolean mayNeedDynamicTest() return true if matchesStatically can ever return FuzzyBoolean.MAYBE (necessitating a per-join point test to determine matching at a given join point). | |