edu.umd.cs.findbugs.detect
Class FindNullDeref.RedundantBranch
java.lang.Object
edu.umd.cs.findbugs.detect.FindNullDeref.RedundantBranch
- Enclosing class:
- FindNullDeref
private static class FindNullDeref.RedundantBranch
- extends java.lang.Object
An instruction recorded as a redundant reference comparison.
We keep track of the line number, in order to ensure that if
the branch was duplicated, all duplicates are determined in
the same way. (If they aren't, then we don't report it.)
Method Summary |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
handle
public final org.apache.bcel.generic.InstructionHandle handle
lineNumber
public final int lineNumber
redundantNullCheck
public boolean redundantNullCheck
FindNullDeref.RedundantBranch
public FindNullDeref.RedundantBranch(org.apache.bcel.generic.InstructionHandle handle,
int lineNumber,
boolean redundantNullCheck)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object