public class New extends OneVariableInstruction
PatternElement| Constructor | Description |
|---|---|
New(java.lang.String resultVarName) |
Constructor.
|
| Modifier and Type | Method | Description |
|---|---|---|
MatchResult |
match(org.apache.bcel.generic.InstructionHandle handle,
org.apache.bcel.generic.ConstantPoolGen cpg,
ValueNumberFrame before,
ValueNumberFrame after,
BindingSet bindingSet) |
Return whether or not this element matches the given instruction with the
given Bindings in effect.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitaddOrCheckDefinitionaddOrCheckDefinition, allowTrailingEdges, dominatedBy, getDominatedBy, getLabel, getNext, label, lookup, setAllowTrailingEdges, setIndex, setNext, toStringacceptBranch, maxOccur, minOccurpublic New(java.lang.String resultVarName)
resultVarName - name of the result of the NEW instructionpublic MatchResult match(org.apache.bcel.generic.InstructionHandle handle, org.apache.bcel.generic.ConstantPoolGen cpg, ValueNumberFrame before, ValueNumberFrame after, BindingSet bindingSet) throws DataflowAnalysisException
PatternElementmatch in class PatternElementhandle - the instructioncpg - the ConstantPoolGen from the methodbefore - the ValueNumberFrame representing values in the Java stack
frame just before the execution of the instructionafter - the ValueNumberFrame representing values in the Java stack
frame just after the execution of the instructionbindingSet - the set of BindingsDataflowAnalysisExceptionFindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.