Uses of Class
com.puppycrawl.tools.checkstyle.api.FileContents
Packages that use FileContents
Package
Description
Contains the implementation of the Checkstyle framework.
Contains the core API to be used to implement checks.
Contains the filters that are bundled with the main distribution.
-
Uses of FileContents in com.puppycrawl.tools.checkstyle
Methods in com.puppycrawl.tools.checkstyle that return FileContentsModifier and TypeMethodDescriptionTreeWalkerAuditEvent.getFileContents()
Returns contents of the file.Methods in com.puppycrawl.tools.checkstyle with parameters of type FileContentsModifier and TypeMethodDescriptionstatic DetailAST
JavaParser.parse
(FileContents contents) Static helper method to parses a Java source file.Constructors in com.puppycrawl.tools.checkstyle with parameters of type FileContentsModifierConstructorDescriptionTreeWalkerAuditEvent
(FileContents fileContents, String fileName, LocalizedMessage localizedMessage, DetailAST rootAst) Creates a newTreeWalkerAuditEvent
instance. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return FileContentsModifier and TypeMethodDescriptionfinal FileContents
AbstractCheck.getFileContents()
Returns the file contents associated with the tree.protected final FileContents
AbstractFileSetCheck.getFileContents()
Returns the file contents associated with the file.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type FileContentsModifier and TypeMethodDescriptionfinal void
AbstractCheck.setFileContents
(FileContents contents) Set the file contents associated with the tree.final void
AbstractFileSetCheck.setFileContents
(FileContents contents) Set the file contents associated with the tree. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.filters
Methods in com.puppycrawl.tools.checkstyle.filters with parameters of type FileContentsModifier and TypeMethodDescriptionvoid
SuppressionCommentFilter.setFileContents
(FileContents fileContents) Set the FileContents for this filter.void
SuppressWithNearbyCommentFilter.setFileContents
(FileContents fileContents) Set the FileContents for this filter.