net.sourceforge.pmd

Class RuleViolation

public class RuleViolation extends Object implements IRuleViolation

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
intgetBeginColumn()
intgetBeginLine()
StringgetClassName()
StringgetDescription()
intgetEndColumn()
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

getBeginColumn

public int getBeginColumn()

getBeginLine

public int getBeginLine()

getClassName

public String getClassName()

getDescription

public String getDescription()

getEndColumn

public int getEndColumn()

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()