Uses of Class
com.puppycrawl.tools.checkstyle.api.FileText
-
Packages that use FileText Package Description com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework.com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks.com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.header File Header checks.com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.regexp Contains the regular expression checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.checks.whitespace Contains the Whitespace checks that are bundled with the main distribution.com.puppycrawl.tools.checkstyle.xpath Contains the nodes implementations for XPATH queries and query generator. -
-
Uses of FileText in com.puppycrawl.tools.checkstyle
Methods in com.puppycrawl.tools.checkstyle with parameters of type FileText Modifier and Type Method Description static DetailAST
JavaParser. parseFileText(FileText text, JavaParser.Options options)
Parse a text and return the parse tree.static java.lang.String
AstTreeStringPrinter. printAst(FileText text, JavaParser.Options options)
Parse a file and print the parse tree.protected void
TreeWalker. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return FileText Modifier and Type Method Description FileText
FileContents. getText()
Get the full text of the file.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type FileText Modifier and Type Method Description java.util.SortedSet<LocalizedMessage>
AbstractFileSetCheck. process(java.io.File file, FileText fileText)
java.util.SortedSet<LocalizedMessage>
FileSetCheck. process(java.io.File file, FileText fileText)
Request to process a file.protected abstract void
AbstractFileSetCheck. processFiltered(java.io.File file, FileText fileText)
Called to process a file that matches the specified file extensions.Constructors in com.puppycrawl.tools.checkstyle.api with parameters of type FileText Constructor Description FileContents(FileText text)
Creates a newFileContents
instance.FileText(FileText fileText)
Copy constructor. -
Uses of FileText in com.puppycrawl.tools.checkstyle.checks
Methods in com.puppycrawl.tools.checkstyle.checks with parameters of type FileText Modifier and Type Method Description protected void
NewlineAtEndOfFileCheck. processFiltered(java.io.File file, FileText fileText)
protected void
OrderedPropertiesCheck. processFiltered(java.io.File file, FileText fileText)
Processes the file and check order.protected void
TranslationCheck. processFiltered(java.io.File file, FileText fileText)
protected void
UniquePropertiesCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.header
Methods in com.puppycrawl.tools.checkstyle.checks.header with parameters of type FileText Modifier and Type Method Description protected void
HeaderCheck. processFiltered(java.io.File file, FileText fileText)
protected void
RegexpHeaderCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.javadoc
Methods in com.puppycrawl.tools.checkstyle.checks.javadoc with parameters of type FileText Modifier and Type Method Description protected void
JavadocPackageCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.regexp
Methods in com.puppycrawl.tools.checkstyle.checks.regexp with parameters of type FileText Modifier and Type Method Description protected void
RegexpMultilineCheck. processFiltered(java.io.File file, FileText fileText)
protected void
RegexpOnFilenameCheck. processFiltered(java.io.File file, FileText fileText)
protected void
RegexpSinglelineCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.sizes
Methods in com.puppycrawl.tools.checkstyle.checks.sizes with parameters of type FileText Modifier and Type Method Description protected void
FileLengthCheck. processFiltered(java.io.File file, FileText fileText)
protected void
LineLengthCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.checks.whitespace
Methods in com.puppycrawl.tools.checkstyle.checks.whitespace with parameters of type FileText Modifier and Type Method Description protected void
FileTabCharacterCheck. processFiltered(java.io.File file, FileText fileText)
-
Uses of FileText in com.puppycrawl.tools.checkstyle.xpath
Constructors in com.puppycrawl.tools.checkstyle.xpath with parameters of type FileText Constructor Description XpathQueryGenerator(DetailAST rootAst, int lineNumber, int columnNumber, int tokenType, FileText fileText, int tabWidth)
Creates a newXpathQueryGenerator
instance.XpathQueryGenerator(DetailAST rootAst, int lineNumber, int columnNumber, FileText fileText, int tabWidth)
Creates a newXpathQueryGenerator
instance.
-