|
FindBugs™ 1.3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.umd.cs.findbugs.BugCode
public class BugCode
A BugCode is an abbreviation that is shared among some number of BugPatterns. For example, the code "HE" is shared by all of the BugPatterns that represent hashcode/equals violations.
BugPattern
Constructor Summary | |
---|---|
BugCode(java.lang.String abbrev,
java.lang.String description)
Constructor. |
|
BugCode(java.lang.String abbrev,
java.lang.String description,
int cweid)
|
Method Summary | |
---|---|
java.lang.String |
getAbbrev()
Get the abbreviation for this bug code. |
int |
getCWEid()
|
java.lang.String |
getDescription()
Get the short textual description of the bug code. |
java.lang.String |
toString()
Get the abbreviation fo this bug code. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BugCode(java.lang.String abbrev, java.lang.String description)
abbrev
- the abbreviation for the bug codedescription
- a short textual description of the class of bug pattern
represented by this bug codepublic BugCode(java.lang.String abbrev, java.lang.String description, int cweid)
Method Detail |
---|
public java.lang.String getAbbrev()
public java.lang.String getDescription()
public java.lang.String toString()
toString
in class java.lang.Object
public int getCWEid()
|
FindBugs™ 1.3.4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |