Uses of Class
com.puppycrawl.tools.checkstyle.api.FileContents
-
Packages that use FileContents 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.filters Contains the filters that are bundled with the main distribution. -
-
Uses of FileContents in com.puppycrawl.tools.checkstyle
Methods in com.puppycrawl.tools.checkstyle with parameters of type FileContents Modifier and Type Method Description static DetailAST
TreeWalker. parse(FileContents contents)
Static helper method to parses a Java source file.static DetailAST
TreeWalker. parseWithComments(FileContents contents)
Parses Java source file. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return FileContents Modifier and Type Method Description FileContents
AbstractCheck. getFileContents()
Returns the file contents associated with the tree.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type FileContents Modifier and Type Method Description void
AbstractCheck. setFileContents(FileContents contents)
Set the file contents associated with the tree. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.checks
Methods in com.puppycrawl.tools.checkstyle.checks that return FileContents Modifier and Type Method Description static FileContents
FileContentsHolder. getContents()
Deprecated.use getCurrentFileContents() instead.static FileContents
FileContentsHolder. getCurrentFileContents()
Returns content of current file. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.filters
Methods in com.puppycrawl.tools.checkstyle.filters that return FileContents Modifier and Type Method Description FileContents
SuppressionCommentFilter. getFileContents()
Returns FileContents for this filter.FileContents
SuppressWithNearbyCommentFilter. getFileContents()
Returns FileContents for this filter.Methods in com.puppycrawl.tools.checkstyle.filters with parameters of type FileContents Modifier and Type Method Description void
SuppressionCommentFilter. setFileContents(FileContents fileContents)
Set the FileContents for this filter.void
SuppressWithNearbyCommentFilter. setFileContents(FileContents fileContents)
Set the FileContents for this filter.
-