public class BugCode extends java.lang.Object implements java.lang.Comparable<BugCode>
BugPattern| Constructor and Description | 
|---|
| BugCode(java.lang.String abbrev,
       java.lang.String description)Constructor. | 
| BugCode(java.lang.String abbrev,
       java.lang.String description,
       int cweid) | 
| Modifier and Type | Method and Description | 
|---|---|
| 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. | 
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)
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.ObjectSpotBugs is licensed under the LGPL.