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 ReportableInterface implemented by those objects that can be the target of aRuleViolation.Nodes andtokensimplement this interface.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FileLocationgetReportLocation()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.
-
-