Package | Description |
---|---|
edu.umd.cs.findbugs.ba.bcp |
Modifier and Type | Class | Description |
---|---|---|
class |
FieldAccess |
Base class for Load and Store PatternElements.
|
class |
IfNull |
|
class |
Invoke |
A PatternElement to match a method invocation.
|
class |
Load |
A PatternElement representing a load from a field.
|
class |
MatchAny |
A "meta" PatternElement that matches any of a list of other child PatternElements.
|
class |
Monitorenter |
A PatternElement for matching a MONITORENTER instruction.
|
class |
New |
A PatternElement which matches NEW instructions and binds the
result to a variable.
|
class |
OneVariableInstruction |
Abstract PatternElement subclass for matching single instructions which have
a single Variable.
|
class |
Opcode |
PatternElement to match instructions with a particular opcode.
|
class |
SingleInstruction |
An abstract PatternElement subclass for pattern elements which
must match exactly one instruction and accept any kind of branch.
|
class |
Store |
A PatternElement representing a store to a field.
|
class |
Wild |
A wildcard PatternElement, which matches any kind of instruction
indiscriminately.
|
Modifier and Type | Method | Description |
---|---|---|
PatternElement |
PatternElement.dominatedBy(java.lang.String dominatedBy) |
Set the label of another pattern element whose first
matched instruction must dominate the instruction(s) matched
by this element.
|
PatternElement |
ByteCodePattern.getFirst() |
Get the first PatternElement in the pattern.
|
PatternElement |
PatternElement.getNext() |
Get the next PatternElement.
|
PatternElement |
MatchResult.getPatternElement() |
Get the PatternElement.
|
PatternElement |
PatternElementMatch.getPatternElement() |
Get the PatternElement.
|
PatternElement |
MatchAny.label(java.lang.String label) |
|
PatternElement |
PatternElement.label(java.lang.String label) |
Set a label for this PatternElement.
|
PatternElement |
MatchAny.setAllowTrailingEdges(boolean allowTrailingEdges) |
|
PatternElement |
PatternElement.setAllowTrailingEdges(boolean allowTrailingEdges) |
Set whether or not this PatternElement allows trailing edges to be matched.
|
Modifier and Type | Method | Description |
---|---|---|
ByteCodePattern |
ByteCodePattern.add(PatternElement element) |
Add a PatternElement to the end of the pattern.
|
void |
PatternElement.setNext(PatternElement patternElement) |
Set the next PatternElement.
|
Constructor | Description |
---|---|
MatchAny(PatternElement[] childList) |
Constructor.
|
MatchResult(PatternElement patternElement,
BindingSet bindingSet) |
Constructor.
|
PatternElementMatch(PatternElement patternElement,
org.apache.bcel.generic.InstructionHandle matchedInstruction,
BasicBlock basicBlock,
int matchCount,
PatternElementMatch prev) |
Constructor.
|
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.