Uses of Class
net.sourceforge.pmd.lang.document.FileLocation
-
Packages that use FileLocation Package Description net.sourceforge.pmd.cpd Token-based copy-paste detection.net.sourceforge.pmd.lang.ast net.sourceforge.pmd.lang.ast.impl.antlr4 net.sourceforge.pmd.lang.ast.impl.javacc Support classes for language implementations based on JavaCC.net.sourceforge.pmd.lang.document Contains types to model text files and handle operations on text.net.sourceforge.pmd.reporting Logic about reporting: violations, suppression etc. -
-
Uses of FileLocation in net.sourceforge.pmd.cpd
Methods in net.sourceforge.pmd.cpd that return FileLocation Modifier and Type Method Description FileLocation
Mark. getLocation()
Return the location of this source range in the source file.Methods in net.sourceforge.pmd.cpd with parameters of type FileLocation Modifier and Type Method Description default void
TokenFactory. recordToken(@NonNull String image, @NonNull FileLocation location)
Record a token given its coordinates. -
Uses of FileLocation in net.sourceforge.pmd.lang.ast
Methods in net.sourceforge.pmd.lang.ast that return FileLocation Modifier and Type Method Description default FileLocation
Node. getReportLocation()
Returns the location at which this element should be reported.protected @Nullable FileLocation
FileAnalysisException. location()
protected @NonNull FileLocation
LexException. location()
protected @Nullable FileLocation
ParseException. location()
Methods in net.sourceforge.pmd.lang.ast with parameters of type FileLocation Modifier and Type Method Description ParseException
ParseException. withLocation(FileLocation loc)
-
Uses of FileLocation in net.sourceforge.pmd.lang.ast.impl.antlr4
Methods in net.sourceforge.pmd.lang.ast.impl.antlr4 that return FileLocation Modifier and Type Method Description FileLocation
AntlrToken. getReportLocation()
-
Uses of FileLocation in net.sourceforge.pmd.lang.ast.impl.javacc
Methods in net.sourceforge.pmd.lang.ast.impl.javacc that return FileLocation Modifier and Type Method Description FileLocation
JavaccToken. getReportLocation()
protected @NonNull FileLocation
MalformedSourceException. location()
protected FileLocation
EscapeTranslator. locationAt(int indexInInput)
Constructors in net.sourceforge.pmd.lang.ast.impl.javacc with parameters of type FileLocation Constructor Description MalformedSourceException(String message, Throwable cause, FileLocation fileLocation)
-
Uses of FileLocation in net.sourceforge.pmd.lang.document
Fields in net.sourceforge.pmd.lang.document with type parameters of type FileLocation Modifier and Type Field Description static Comparator<FileLocation>
FileLocation. COMPARATOR
static Comparator<FileLocation>
FileLocation. COORDS_COMPARATOR
Methods in net.sourceforge.pmd.lang.document that return FileLocation Modifier and Type Method Description static FileLocation
FileLocation. caret(FileId fileName, int line, int column)
Returns a new location that starts and ends at the same position.static FileLocation
FileLocation. range(FileId fileName, TextRange2d range2d)
Creates a new location for a range of text.FileLocation
FragmentedDocBuilder. toLocation(int indexInInput)
FileLocation
TextDocument. toLocation(TextRegion region)
Turn a text region into aFileLocation
. -
Uses of FileLocation in net.sourceforge.pmd.reporting
Methods in net.sourceforge.pmd.reporting that return FileLocation Modifier and Type Method Description FileLocation
RuleViolation. getLocation()
Returns the location where the violation should be reported.FileLocation
Reportable. getReportLocation()
Returns the location at which this element should be reported.Methods in net.sourceforge.pmd.reporting with parameters of type FileLocation Modifier and Type Method Description static net.sourceforge.pmd.reporting.ParametricRuleViolation
InternalApiBridge. createRuleViolation(Rule theRule, FileLocation location, String message, Map<String,String> additionalInfo)
-