|
FindBugs™ 1.3.9 | |||||||||
| 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 | |
|---|---|
int |
compareTo(BugCode o)
|
boolean |
equals(java.lang.Object o)
|
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. |
int |
hashCode()
|
java.lang.String |
toString()
Get the abbreviation fo this bug code. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, 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 code
public 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.Objectpublic int getCWEid()
public int compareTo(BugCode o)
compareTo in interface java.lang.Comparable<BugCode>public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object
|
FindBugs™ 1.3.9 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||