| java.lang.Object edu.umd.cs.findbugs.ba.bcp.PatternElementMatch
PatternElementMatch | public class PatternElementMatch (Code) | | PatternElementMatch represents matching a PatternElement against
a single instruction. The "prev" field points to the previous
PatternElementMatch. By building up sequences of PatternElementMatch objects
in this way, we can implement nondeterministic matching without
having to copy anything.
|
PatternElementMatch | public PatternElementMatch(PatternElement patternElement, InstructionHandle matchedInstruction, BasicBlock basicBlock, int matchCount, PatternElementMatch prev)(Code) | | Constructor.
Parameters: patternElement - the PatternElement being matched Parameters: matchedInstruction - the instruction which matched the PatternElement Parameters: basicBlock - the basic block containing the matched instruction Parameters: matchCount - the index (starting at zero) of the instructionsmatching the PatternElement; multiple instructions can match thesame PatternElement Parameters: prev - the previous PatternElementMatch |
allowTrailingEdges | public boolean allowTrailingEdges()(Code) | | Return whether or not the most recently matched instruction
allows trailing edges.
|
getBasicBlock | public BasicBlock getBasicBlock()(Code) | | Get the basic block containing the matched instruction.
|
getLabeledInstruction | public InstructionHandle getLabeledInstruction(String label)(Code) | | Get the first instruction matched by the PatternElement with given label.
|
getMatchCount | public int getMatchCount()(Code) | | |
getMatchedInstructionInstructionHandle | public InstructionHandle getMatchedInstructionInstructionHandle()(Code) | | Get the matched instruction.
|
hashCode | public int hashCode()(Code) | | |
|
|