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
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate boolean
private boolean
private boolean
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
initMethod
(org.apache.bcel.classfile.Method method) void
sawOpcode
(int seen)
-
Field Details
-
isEqualsObject
private boolean isEqualsObject -
sawInstanceofCheck
private boolean sawInstanceofCheck -
reportedBadCastInEquals
private boolean reportedBadCastInEquals
-
-
Constructor Details
-
BadCastInEqualsSubDetector
private BadCastInEqualsSubDetector()
-
-
Method Details
-
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
-