|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.ba.npe.NullDerefAndRedundantComparisonFinder
public class NullDerefAndRedundantComparisonFinder
A user-friendly front end for finding null pointer dereferences and redundant null comparisions.
IsNullValueAnalysis
Constructor Summary | |
---|---|
NullDerefAndRedundantComparisonFinder(ClassContext classContext,
org.apache.bcel.classfile.Method method,
IsNullValueDataflow invDataflow,
NullDerefAndRedundantComparisonCollector collector)
Constructor. |
Method Summary | |
---|---|
void |
execute()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NullDerefAndRedundantComparisonFinder(ClassContext classContext, org.apache.bcel.classfile.Method method, IsNullValueDataflow invDataflow, NullDerefAndRedundantComparisonCollector collector)
classContext
- the ClassContextmethod
- the method to analyzeinvDataflow
- the IsNullValueDataflow to usecollector
- the NullDerefAndRedundantComparisonCollector used to report
null derefs and redundant null comparisonsMethod Detail |
---|
public void execute() throws DataflowAnalysisException, CFGBuilderException
DataflowAnalysisException
CFGBuilderException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |