net.sourceforge.pmd

Class RuleViolation

public class RuleViolation extends Object

BSD-style license; for more info see http://pmd.sourceforge.net/license.html
Nested Class Summary
static classRuleViolation.RuleViolationComparator
Constructor Summary
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)
RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, String specificMsg)
Method Summary
intgetBeginLine()
StringgetClassName()
StringgetDescription()
intgetEndLine()
StringgetFilename()
StringgetMethodName()
StringgetPackageName()
RulegetRule()
StringgetVariableName()
booleanisSuppressed()
StringtoString()

Constructor Detail

RuleViolation

public RuleViolation(Rule rule, RuleContext ctx, SimpleNode node)

RuleViolation

public RuleViolation(Rule rule, RuleContext ctx, SimpleNode node, String specificMsg)

Method Detail

getBeginLine

public int getBeginLine()

getClassName

public String getClassName()

getDescription

public String getDescription()

getEndLine

public int getEndLine()

getFilename

public String getFilename()

getMethodName

public String getMethodName()

getPackageName

public String getPackageName()

getRule

public Rule getRule()

getVariableName

public String getVariableName()

isSuppressed

public boolean isSuppressed()

toString

public String toString()