|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.mebigfatguy.fbcontrib.detect.IncorrectInternalClassUse
public class IncorrectInternalClassUse
looks for classes that use objects from com.sun.xxx packages. As these are internal to sun and subject to change, this should not be done.
Field Summary |
---|
Fields inherited from interface edu.umd.cs.findbugs.Priorities |
---|
EXP_PRIORITY, HIGH_PRIORITY, IGNORE_PRIORITY, LOW_PRIORITY, NORMAL_PRIORITY |
Constructor Summary | |
---|---|
IncorrectInternalClassUse(edu.umd.cs.findbugs.BugReporter bugReporter)
constructs a IICU detector given the reporter to report bugs on |
Method Summary | |
---|---|
void |
report()
implementation stub for Detector interface |
void |
visitClassContext(edu.umd.cs.findbugs.ba.ClassContext context)
implements the visitor to look for classes that reference com.sun.xxx, or org.apache.xerces.xxx classes by looking for class constants in the constant pool |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IncorrectInternalClassUse(edu.umd.cs.findbugs.BugReporter bugReporter)
bugReporter
- the sync of bug reportsMethod Detail |
---|
public void visitClassContext(edu.umd.cs.findbugs.ba.ClassContext context)
visitClassContext
in interface edu.umd.cs.findbugs.Detector
context
- 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 |