Uses of Interface
net.sourceforge.pmd.lang.document.TextFile
Packages that use TextFile
Package
Description
Contains types to model text files and handle operations on text.
Logic about reporting: violations, suppression etc.
-
Uses of TextFile in net.sourceforge.pmd.lang
Methods in net.sourceforge.pmd.lang that return types with arguments of type TextFileMethod parameters in net.sourceforge.pmd.lang with type arguments of type TextFileModifier and TypeMethodDescriptionInternalApiBridge.createAnalysisTask(net.sourceforge.pmd.lang.rule.internal.RuleSets rulesets, List<TextFile> files, GlobalAnalysisListener listener, int threadCount, net.sourceforge.pmd.cache.internal.AnalysisCache analysisCache, PmdReporter messageReporter, LanguageProcessorRegistry lpRegistry) InternalApiBridge.taskWithFiles(LanguageProcessor.AnalysisTask originalTask, List<TextFile> newFiles) -
Uses of TextFile in net.sourceforge.pmd.lang.document
Methods in net.sourceforge.pmd.lang.document that return TextFileModifier and TypeMethodDescriptionabstract TextFileTextFileBuilder.build()Creates and returns the new text file.static TextFileTextFile.forCharSeq(CharSequence charseq, FileId fileId, LanguageVersion languageVersion) Returns a read-only TextFile reading from a string.static TextFileTextFile.forPath(Path path, Charset charset, LanguageVersion languageVersion) Returns an instance of this interface reading and writing to a file.static TextFileTextFile.forReader(Reader reader, FileId fileId, LanguageVersion languageVersion) Returns a read-only instance of this interface reading from a reader.Methods in net.sourceforge.pmd.lang.document that return types with arguments of type TextFileModifier and TypeMethodDescriptionFileCollector.getCollectedFiles()Returns an unmodifiable list of all files that have been collected.Methods in net.sourceforge.pmd.lang.document with parameters of type TextFileModifier and TypeMethodDescriptionbooleanAdd a pre-configured text file.static TextDocumentCreate a new text document for the given text file.Constructors in net.sourceforge.pmd.lang.document with parameters of type TextFile -
Uses of TextFile in net.sourceforge.pmd.renderers
Methods in net.sourceforge.pmd.renderers with parameters of type TextFileModifier and TypeMethodDescriptionvoidAbstractAccumulatingRenderer.startFileAnalysis(TextFile dataSource) voidAbstractIncrementingRenderer.startFileAnalysis(TextFile dataSource) voidEmptyRenderer.startFileAnalysis(TextFile dataSource) voidRenderer.startFileAnalysis(TextFile dataSource) This method is called each time a source file is processed. -
Uses of TextFile in net.sourceforge.pmd.reporting
Methods in net.sourceforge.pmd.reporting with parameters of type TextFileModifier and TypeMethodDescriptiondefault StringFileNameRenderer.getDisplayName(@NonNull TextFile textFile) DeterministicOutputListenerWrapper.startFileAnalysis(TextFile file) GlobalAnalysisListener.startFileAnalysis(TextFile file) Returns a file listener that will handle events occurring during the analysis of the given file.GlobalAnalysisListener.ViolationCounterListener.startFileAnalysis(TextFile file) Report.GlobalReportBuilderListener.startFileAnalysis(TextFile file) ReportStatsListener.startFileAnalysis(TextFile file)