Package edu.umd.cs.findbugs.ba.bcp
Class MatchResult
java.lang.Object
edu.umd.cs.findbugs.ba.bcp.MatchResult
The result of matching a single PatternElement against a single instruction.
Specifies the PatternElement and the (possibly updated) BindingSet. The
reason we need this class is because some kinds of PatternElements, such as
MatchAny, may use it to indicate that a child PatternElement was the one that
actually matched the instruction.
- Author:
- David Hovemeyer
- See Also:
-
Constructor Summary
ConstructorDescriptionMatchResult
(PatternElement patternElement, BindingSet bindingSet) Constructor. -
Method Summary
Modifier and TypeMethodDescriptionGet the BindingSet.Get the PatternElement.
-
Constructor Details
-
MatchResult
Constructor.- Parameters:
patternElement
- the PatternElement that matched the instructionbindingSet
- the possibly updated BindingSet
-
-
Method Details
-
getPatternElement
Get the PatternElement. -
getBindingSet
Get the BindingSet.
-