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.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 that return FileContents Modifier and Type Method Description FileContentsTreeWalkerAuditEvent. getFileContents()Returns contents of the file.Methods in com.puppycrawl.tools.checkstyle with parameters of type FileContents Modifier and Type Method Description static DetailASTJavaParser. parse(FileContents contents)Static helper method to parses a Java source file.Constructors in com.puppycrawl.tools.checkstyle with parameters of type FileContents Constructor Description TreeWalkerAuditEvent(FileContents fileContents, java.lang.String fileName, LocalizedMessage localizedMessage, DetailAST rootAst)Creates a newTreeWalkerAuditEventinstance. -
Uses of FileContents in com.puppycrawl.tools.checkstyle.api
Methods in com.puppycrawl.tools.checkstyle.api that return FileContents Modifier and Type Method Description FileContentsAbstractCheck. getFileContents()Returns the file contents associated with the tree.protected FileContentsAbstractFileSetCheck. getFileContents()Returns the file contents associated with the file.Methods in com.puppycrawl.tools.checkstyle.api with parameters of type FileContents Modifier and Type Method Description voidAbstractCheck. setFileContents(FileContents contents)Set the file contents associated with the tree.voidAbstractFileSetCheck. 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 FileContents Modifier and Type Method Description voidSuppressionCommentFilter. setFileContents(FileContents fileContents)Set the FileContents for this filter.voidSuppressWithNearbyCommentFilter. setFileContents(FileContents fileContents)Set the FileContents for this filter.
-