edu.umd.cs.findbugs

Class BugCode

public class BugCode extends Object

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.

Author: David Hovemeyer

See Also: BugPattern

Constructor Summary
BugCode(String abbrev, String description)
Constructor.
Method Summary
StringgetAbbrev()
Get the abbreviation for this bug code.
StringgetDescription()
Get the short textual description of the bug code.

Constructor Detail

BugCode

public BugCode(String abbrev, String description)
Constructor.

Parameters: abbrev the abbreviation for the bug code description a short textual description of the class of bug pattern represented by this bug code

Method Detail

getAbbrev

public String getAbbrev()
Get the abbreviation for this bug code.

getDescription

public String getDescription()
Get the short textual description of the bug code.
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.