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 FileLocationMark. 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 voidTokenFactory. 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 FileLocationNode. getReportLocation()Returns the location at which this element should be reported.protected @Nullable FileLocationFileAnalysisException. location()protected @NonNull FileLocationLexException. location()protected @Nullable FileLocationParseException. location()Methods in net.sourceforge.pmd.lang.ast with parameters of type FileLocation Modifier and Type Method Description ParseExceptionParseException. 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 FileLocationAntlrToken. 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 FileLocationJavaccToken. getReportLocation()protected @NonNull FileLocationMalformedSourceException. location()protected FileLocationEscapeTranslator. 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. COMPARATORstatic Comparator<FileLocation>FileLocation. COORDS_COMPARATORMethods in net.sourceforge.pmd.lang.document that return FileLocation Modifier and Type Method Description static FileLocationFileLocation. caret(FileId fileName, int line, int column)Returns a new location that starts and ends at the same position.static FileLocationFileLocation. range(FileId fileName, TextRange2d range2d)Creates a new location for a range of text.FileLocationFragmentedDocBuilder. toLocation(int indexInInput)FileLocationTextDocument. 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 FileLocationRuleViolation. getLocation()Returns the location where the violation should be reported.FileLocationReportable. 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.ParametricRuleViolationInternalApiBridge. createRuleViolation(Rule theRule, FileLocation location, String message, Map<String,String> additionalInfo)
-