Package edu.umd.cs.findbugs.detect
Class DumbMethods.BadCastInEqualsSubDetector
- java.lang.Object
-
- edu.umd.cs.findbugs.detect.DumbMethods.SubDetector
-
- edu.umd.cs.findbugs.detect.DumbMethods.BadCastInEqualsSubDetector
-
- Enclosing class:
- DumbMethods
private final class DumbMethods.BadCastInEqualsSubDetector extends DumbMethods.SubDetector
-
-
Field Summary
Fields Modifier and Type Field Description private boolean
isEqualsObject
private boolean
reportedBadCastInEquals
private boolean
sawInstanceofCheck
-
Constructor Summary
Constructors Modifier Constructor Description private
BadCastInEqualsSubDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
initMethod(org.apache.bcel.classfile.Method method)
void
sawOpcode(int seen)
-
-
-
Method Detail
-
initMethod
public void initMethod(org.apache.bcel.classfile.Method method)
- Overrides:
initMethod
in classDumbMethods.SubDetector
-
sawOpcode
public void sawOpcode(int seen)
- Specified by:
sawOpcode
in classDumbMethods.SubDetector
-
-