|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mebigfatguy.fbcontrib.detect.SpoiledChildInterfaceImplementor
public class SpoiledChildInterfaceImplementor
looks for classes that implement interfaces by relying on methods being implemented in super classes, even though the superclass knows nothing about the interface being implemented by the child.
Field Summary |
---|
Fields inherited from interface edu.umd.cs.findbugs.Priorities |
---|
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY |
Constructor Summary | |
---|---|
SpoiledChildInterfaceImplementor(edu.umd.cs.findbugs.BugReporter bugReporter)
constructs a SCII detector given the reporter to report bugs on |
Method Summary | |
---|---|
void |
report()
required for implementing the interface |
void |
visitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext)
looks for classes that implement interfaces but don't provide those methods |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SpoiledChildInterfaceImplementor(edu.umd.cs.findbugs.BugReporter bugReporter)
bugReporter
- the sync of bug reportsMethod Detail |
---|
public void visitClassContext(edu.umd.cs.findbugs.ba.ClassContext classContext)
visitClassContext
in interface edu.umd.cs.findbugs.Detector
classContext
- the context object of the currently parsed classpublic void report()
report
in interface edu.umd.cs.findbugs.Detector
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |