- All Implemented Interfaces:
- edu.umd.cs.findbugs.Detector, edu.umd.cs.findbugs.Priorities
public class BuildRandomReturningMethodsDatabase
extends Object
implements edu.umd.cs.findbugs.Detector
This class is a detector implementation which runs in the first pass of analysis. With a very simplistic assumption
this identifies whether a method might return a pseudo-random value purely based on the fact that it calls a method
that's already known to return a pseudo-random value. A better approach is doing proper dataflow analysis to
understand whether the pseudo-random value makes it to the return instruction.