Package net.sourceforge.pmd.reporting
Interface Reportable
-
- All Known Subinterfaces:
AntlrNode<N>
,CommentNode
,GenericNode<N>
,GenericToken<T>
,JjtreeNode<N>
,Node
,RootNode
,ScopedNode
,TextAvailableNode
,TextNode
- All Known Implementing Classes:
AbstractJjtreeNode
,AbstractNode
,AntlrToken
,BaseAntlrErrorNode
,BaseAntlrInnerNode
,BaseAntlrNode
,BaseAntlrTerminalNode
,JavaccToken
,PlainTextLanguage.PlainTextFile
public interface Reportable
Interface implemented by those objects that can be the target of aRuleViolation
.Node
s andtokens
implement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileLocation
getReportLocation()
Returns the location at which this element should be reported.
-
-
-
Method Detail
-
getReportLocation
FileLocation getReportLocation()
Returns the location at which this element should be reported.Use this instead of
Node.getBeginColumn()
/Node.getBeginLine()
, etc.
-
-