Package org.aspectj.weaver.tools
Klasse DefaultMatchingContext
java.lang.Object
org.aspectj.weaver.tools.DefaultMatchingContext
- Alle implementierten Schnittstellen:
MatchingContext
Default implementation of MatchingContext, backed
by a Map.
-
Konstruktorübersicht
-
Methodenübersicht
Modifizierer und TypMethodeBeschreibungvoid
addContextBinding
(String name, Object value) Add a context binding with the given name and valuegetBinding
(String contextParameterName) returns the binding associated with the given context parameter name (or null if there is no such context).boolean
hasContextBinding
(String contextParameterName) Returns true iff this matching context has a defined binding for the given context parameter.void
removeContextBinding
(String name) Remove the context binding with the given name
-
Konstruktordetails
-
DefaultMatchingContext
public DefaultMatchingContext()
-
-
Methodendetails
-
hasContextBinding
Beschreibung aus Schnittstelle kopiert:MatchingContext
Returns true iff this matching context has a defined binding for the given context parameter.- Angegeben von:
hasContextBinding
in SchnittstelleMatchingContext
- Parameter:
contextParameterName
-
-
getBinding
Beschreibung aus Schnittstelle kopiert:MatchingContext
returns the binding associated with the given context parameter name (or null if there is no such context).- Angegeben von:
getBinding
in SchnittstelleMatchingContext
- Parameter:
contextParameterName
-- Gibt zurück:
-
addContextBinding
Add a context binding with the given name and value- Parameter:
name
-value
-
-
removeContextBinding
Remove the context binding with the given name- Parameter:
name
-
-