edu.umd.cs.findbugs.detect

Class SuperfluousInstanceOf

public class SuperfluousInstanceOf extends BytecodeScanningDetector implements StatelessDetector

Find occurrences of a instanceof b where it can be determined statically whether this is true or false. This may signal a misunderstanding of the inheritance hierarchy in use, and potential bugs.

Author: Dave Brosius

Constructor Summary
SuperfluousInstanceOf(BugReporter bugReporter)

Constructor Detail

SuperfluousInstanceOf

public SuperfluousInstanceOf(BugReporter bugReporter)
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.