Package edu.umd.cs.findbugs.detect
Class DumbMethods.RandomOnceSubDetector
- java.lang.Object
-
- edu.umd.cs.findbugs.detect.DumbMethods.SubDetector
-
- edu.umd.cs.findbugs.detect.DumbMethods.RandomOnceSubDetector
-
- Enclosing class:
- DumbMethods
private final class DumbMethods.RandomOnceSubDetector extends DumbMethods.SubDetector
-
-
Field Summary
Fields Modifier and Type Field Description private booleanfreshRandomOneBelowTosprivate booleanfreshRandomOnTosTrue if a freshly createdRandominstance exists on ToS (Top op Stack)
-
Constructor Summary
Constructors Modifier Constructor Description privateRandomOnceSubDetector()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidinitMethod(org.apache.bcel.classfile.Method method)voidsawOpcode(int seen)
-
-
-
Method Detail
-
initMethod
public void initMethod(org.apache.bcel.classfile.Method method)
- Overrides:
initMethodin classDumbMethods.SubDetector
-
sawOpcode
public void sawOpcode(int seen)
- Specified by:
sawOpcodein classDumbMethods.SubDetector
-
-