Package ghidra.util.bytesearch
Class GenericMatchAction<T>
java.lang.Object
ghidra.util.bytesearch.DummyMatchAction
ghidra.util.bytesearch.GenericMatchAction<T>
- Type Parameters:
T
- - object to attach to match sequence, generally used to specify a specialized momento to be used by the action when it is "applied".
- All Implemented Interfaces:
MatchAction
Template for generic match action attached to a match sequence.
Used to store an associated value to the matching sequence.
The associated value can be retrieved when the sequence is matched.
-
Constructor Summary
ConstructorDescriptionGenericMatchAction
(T matchValue) Construct a match action used when a match occurs for some GenericByteSequece -
Method Summary
Methods inherited from class ghidra.util.bytesearch.DummyMatchAction
apply, restoreXml
-
Constructor Details
-
GenericMatchAction
Construct a match action used when a match occurs for some GenericByteSequece- Parameters:
matchValue
- specialized object used when match occurs
-
-
Method Details
-
getMatchValue
- Returns:
- the specialized object associated with this match action
-