net.sourceforge.pmd
public final class Language extends Object
| Field Summary | |
|---|---|
| static Language | JAVA |
| static Language | JSP |
| Method Summary | |
|---|---|
| boolean | equals(Object obj) |
| static Language | getByName(String name)
Get the RuleLanguage that corresponds to the given name.
|
| String | getName() |
| int | hashCode() |
| String | toString() |
Parameters: name the common name of the rule language; this must correspond to one of the name constants.
Returns: the corresponding RuleLanuage; or null if the name is not recognized
Returns: Returns the name.