- AbbreviationAsWordInNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
The Check validate abbreviations(consecutive capital letters) length in
identifier name, it also allows to enforce camel case naming.
- AbbreviationAsWordInNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
- ABSTRACT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The abstract
keyword.
- ABSTRACT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- AbstractAccessControlNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Abstract class for checking a class member (field/method)'s name conforms to
a format specified by the format property.
- AbstractAccessControlNameCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Creates a new AbstractAccessControlNameCheck
instance.
- AbstractCellEditor - Class in com.puppycrawl.tools.checkstyle.gui
-
A base class for CellEditors, providing default implementations for all
methods in the CellEditor interface and support for managing a series
of listeners.
- AbstractCellEditor() - Constructor for class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- AbstractClassCouplingCheck - Class in com.puppycrawl.tools.checkstyle.checks.metrics
-
Base class for coupling calculation.
- AbstractClassCouplingCheck(int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
Creates new instance of the check.
- AbstractClassNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Ensures that the names of abstract classes conforming to some
regular expression and check that abstract
modifier exists.
- AbstractClassNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck
-
Creates new instance of the check.
- AbstractComplexityCheck - Class in com.puppycrawl.tools.checkstyle.checks.metrics
-
Base class for checks the calculate complexity based around methods.
- AbstractComplexityCheck(int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
Creates an instance.
- AbstractFileSetCheck - Class in com.puppycrawl.tools.checkstyle.api
-
Provides common functionality for many FileSetChecks.
- AbstractFileSetCheck() - Constructor for class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
- AbstractFormatCheck - Class in com.puppycrawl.tools.checkstyle.checks
-
- AbstractFormatCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
Creates a new AbstractFormatCheck
instance.
- AbstractFormatCheck(String, int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
Creates a new AbstractFormatCheck
instance.
- AbstractHeaderCheck - Class in com.puppycrawl.tools.checkstyle.checks.header
-
Abstract super class for header checks.
- AbstractHeaderCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck
-
- AbstractIllegalCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Support for checks that look for usage of illegal types.
- AbstractIllegalCheck(String[]) - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalCheck
-
Constructs an object.
- AbstractIllegalMethodCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Provide support for checking for a method with a specified name and no
arguments.
- AbstractIllegalMethodCheck(String, String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalMethodCheck
-
Creates an instance.
- AbstractLoader - Class in com.puppycrawl.tools.checkstyle.api
-
Contains the common implementation of a loader, for loading a configuration
from an XML file.
- AbstractLoader(String, String) - Constructor for class com.puppycrawl.tools.checkstyle.api.AbstractLoader
-
Creates a new instance.
- AbstractLoader(Map<String, String>) - Constructor for class com.puppycrawl.tools.checkstyle.api.AbstractLoader
-
Creates a new instance.
- AbstractLoader.LoadExternalDtdFeatureProvider - Class in com.puppycrawl.tools.checkstyle.api
-
Used for setting specific for secure java installations features to SAXParserFactory.
- AbstractNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Abstract class for checking that names conform to a specified format.
- AbstractNameCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.AbstractNameCheck
-
Creates a new AbstractNameCheck
instance.
- AbstractNestedDepthCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Abstract class which provides helpers functionality for nestedchecks.
- AbstractNestedDepthCheck(int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.AbstractNestedDepthCheck
-
Creates new instance of checks.
- AbstractOptionCheck<T extends Enum<T>> - Class in com.puppycrawl.tools.checkstyle.checks
-
Abstract class for checks with a parameter named
option, where the
option is identified by a
Enum
.
- AbstractOptionCheck(T, Class<T>) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
-
Creates a new AbstractOptionCheck
instance.
- AbstractSuperCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Abstract class for checking that an overriding method with no parameters
invokes the super method.
- AbstractSuperCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.AbstractSuperCheck
-
- AbstractTreeTableModel - Class in com.puppycrawl.tools.checkstyle.gui
-
An abstract implementation of the TreeTableModel interface, handling
the list of listeners.
- AbstractTreeTableModel(Object) - Constructor for class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- AbstractTypeAwareCheck - Class in com.puppycrawl.tools.checkstyle.checks
-
Abstract class that endeavours to maintain type information for the Java
file being checked.
- AbstractTypeAwareCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
- AbstractTypeAwareCheck.ClassInfo - Class in com.puppycrawl.tools.checkstyle.checks
-
Contains class's Token
.
- AbstractTypeAwareCheck.ClassInfo(AbstractTypeAwareCheck.Token) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
-
Creates new instance of class inforamtion object.
- AbstractTypeAwareCheck.Token - Class in com.puppycrawl.tools.checkstyle.checks
-
Represents text element with location in the text.
- AbstractTypeAwareCheck.Token(String, int, int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
-
Creates token.
- AbstractTypeAwareCheck.Token(FullIdent) - Constructor for class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
-
Converts FullIdent to Token.
- AbstractTypeParameterNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Abstract class for checking if a class/method type parameter's name
conforms to a format specified by the format property.
- AbstractTypeParameterNameCheck(String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.AbstractTypeParameterNameCheck
-
Creates a new AbstractTypeParameterNameCheck
instance.
- AbstractViolationReporter - Class in com.puppycrawl.tools.checkstyle.api
-
Serves as an abstract base class for all modules that report inspection
findings.
- AbstractViolationReporter() - Constructor for class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
- aCase() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- accept(AuditEvent) - Method in interface com.puppycrawl.tools.checkstyle.api.Filter
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.api.FilterSet
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Checks if given indentation is acceptable.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SeverityMatchFilter
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionFilter
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWarningsFilter
-
Determines whether or not a filtered AuditEvent is accepted.
- accept(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Determines whether or not a filtered AuditEvent is accepted.
- add(LocalizedMessage) - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessages
-
Logs a message to be reported.
- add(String, Object) - Method in class com.puppycrawl.tools.checkstyle.DefaultContext
-
Adds a context entry.
- addAcceptedIndent(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Adds one more acceptable indentation level.
- addAcceptedIndent(IndentLevel) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Adds one more acceptable indentation level.
- addAttribute(String, String) - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
Adds an attribute to this configuration.
- addCellEditorListener(CellEditorListener) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- addChild(AST) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- addChild(Configuration) - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
Makes a configuration a child of this configuration.
- addError(AuditEvent) - Method in interface com.puppycrawl.tools.checkstyle.api.AuditListener
-
Notify that an audit error was discovered on a specific file.
- addError(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Notify that an audit error was discovered on a specific file.
- addError(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.DefaultLogger
-
Print an Emacs compliant line on the error stream.
- addError(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.XMLLogger
-
Notify that an audit error was discovered on a specific file.
- addException(AuditEvent, Throwable) - Method in interface com.puppycrawl.tools.checkstyle.api.AuditListener
-
Notify that an exception happened while performing audit.
- addException(AuditEvent, Throwable) - Method in class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Notify that an exception happened while performing audit.
- addException(AuditEvent, Throwable) - Method in class com.puppycrawl.tools.checkstyle.DefaultLogger
-
Notify that an exception happened while performing audit.
- addException(AuditEvent, Throwable) - Method in class com.puppycrawl.tools.checkstyle.XMLLogger
-
Notify that an exception happened while performing audit.
- addFileset(FileSet) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Adds a set of files (nested fileset attribute).
- addFileSetCheck(FileSetCheck) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Adds a FileSetCheck to the list of FileSetChecks
that is executed in process().
- addFilter(Filter) - Method in class com.puppycrawl.tools.checkstyle.api.FilterSet
-
Adds a Filter to the set.
- addFilter(Filter) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Adds a filter to the end of the audit event filter chain.
- addFormatter(CheckStyleTask.Formatter) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Add a formatter.
- additiveExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- addLineAndCol(int, int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineSet
-
Add a line to this set of lines.
- addListener(AuditListener) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Add the listener that will be used to receive events from the audit.
- addMessage(String, String) - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
Adds a custom message to this configuration.
- addProperty(CheckStyleTask.Property) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Add an override property.
- addTreeModelListener(TreeModelListener) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- andExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotatingWhat(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Checks to see what the passed in AST (representing
an annotation) is annotating.
- ANNOTATION - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An annotation of a package, type, field, parameter or variable.
- annotation() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ANNOTATION - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ANNOTATION_ARRAY_INIT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An annotation array member initialisation.
- ANNOTATION_ARRAY_INIT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ANNOTATION_DEF - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An annotation declaration.
- ANNOTATION_DEF - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ANNOTATION_FIELD_DEF - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An annotation field declaration.
- ANNOTATION_FIELD_DEF - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ANNOTATION_MEMBER_VALUE_PAIR - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An initialisation of an annotation member with a value.
- ANNOTATION_MEMBER_VALUE_PAIR - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- annotationArguments() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationBlock() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationDefault() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationDefinition(AST) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationField() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationMemberArrayInitializer() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationMemberArrayValueInitializer() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationMemberValueInitializer() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationMemberValuePair() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- annotationMemberValuePairs() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ANNOTATIONS - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A collection of annotations on a package or enum constant.
- annotations() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ANNOTATIONS - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- AnnotationUseStyleCheck - Class in com.puppycrawl.tools.checkstyle.checks.annotation
-
This check controls the style with the usage of annotations.
- AnnotationUseStyleCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
- AnnotationUseStyleCheck.ClosingParens - Enum in com.puppycrawl.tools.checkstyle.checks.annotation
-
Defines the two styles for defining
elements in an annotation.
- AnnotationUseStyleCheck.ElementStyle - Enum in com.puppycrawl.tools.checkstyle.checks.annotation
-
Defines the styles for defining elements in an annotation.
- AnnotationUseStyleCheck.TrailingArrayComma - Enum in com.puppycrawl.tools.checkstyle.checks.annotation
-
Defines the two styles for defining
elements in an annotation.
- AnnotationUtility - Class in com.puppycrawl.tools.checkstyle.api
-
Contains utility methods designed to work with annotations.
- AnonInnerLengthCheck - Class in com.puppycrawl.tools.checkstyle.checks.sizes
-
Checks for long anonymous inner classes.
- AnonInnerLengthCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck
-
- argList() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ARRAY_DECLARATOR - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An array declaration.
- ARRAY_DECLARATOR - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ARRAY_INIT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An array initialization.
- ARRAY_INIT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ArrayInitHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for array initialization blocks.
- ArrayInitHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- arrayInitializer() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ArrayTrailingCommaCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks if array initialization contains optional trailing comma.
- ArrayTrailingCommaCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.ArrayTrailingCommaCheck
-
- ArrayTypeStyleCheck - Class in com.puppycrawl.tools.checkstyle.checks
-
Checks the style of array type definitions.
- ArrayTypeStyleCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
-
- ASSERT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- assertStatement() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ASSIGN - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The =
(assignment) operator.
- ASSIGN - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- assignmentExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- AT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An 'at' symbol - signifying an annotation instance or the prefix
to the interface literal signifying the definition of an annotation
declaration.
- AT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- AuditEvent - Class in com.puppycrawl.tools.checkstyle.api
-
Raw event for audit.
- AuditEvent(Object) - Constructor for class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
Creates a new instance.
- AuditEvent(Object, String) - Constructor for class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
Creates a new AuditEvent
instance.
- AuditEvent(Object, String, LocalizedMessage) - Constructor for class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
Creates a new AuditEvent
instance.
- auditFinished(AuditEvent) - Method in interface com.puppycrawl.tools.checkstyle.api.AuditListener
-
Notify that the audit is finished.
- auditFinished(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Notify that the audit is finished.
- auditFinished(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.DefaultLogger
-
Notify that the audit is finished.
- auditFinished(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.XMLLogger
-
Notify that the audit is finished.
- AuditListener - Interface in com.puppycrawl.tools.checkstyle.api
-
Listener in charge of receiving events from the Checker.
- auditStarted(AuditEvent) - Method in interface com.puppycrawl.tools.checkstyle.api.AuditListener
-
Notify that the audit is about to start.
- auditStarted(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Notify that the audit is about to start.
- auditStarted(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.DefaultLogger
-
Notify that the audit is about to start.
- auditStarted(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.XMLLogger
-
Notify that the audit is about to start.
- AutomaticBean - Class in com.puppycrawl.tools.checkstyle.api
-
A Java Bean that implements the component lifecycle interfaces by
calling the bean's setters for all configuration attributes.
- AutomaticBean() - Constructor for class com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
- AvoidEscapedUnicodeCharactersCheck - Class in com.puppycrawl.tools.checkstyle.checks
-
- AvoidEscapedUnicodeCharactersCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
- AvoidInlineConditionalsCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Detects inline conditionals.
- AvoidInlineConditionalsCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck
-
- AvoidNestedBlocksCheck - Class in com.puppycrawl.tools.checkstyle.checks.blocks
-
Finds nested blocks.
- AvoidNestedBlocksCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck
-
- AvoidStarImportCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
Check that finds import statements that use the * notation.
- AvoidStarImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
-
- AvoidStaticImportCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
Check that finds static imports.
- AvoidStaticImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck
-
- cancelCellEditing() - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- canReferenceImports() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- CASE_GROUP - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A group of case clauses.
- CASE_GROUP - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- CaseHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for case statements.
- CaseHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.CaseHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- casesGroup() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- caseSList() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- CatchHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for catch blocks.
- CatchHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.CatchHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- catchParameterDeclaration() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- CHAR_LITERAL - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A character literal.
- CHAR_LITERAL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- Check - Class in com.puppycrawl.tools.checkstyle.api
-
The base class for checks.
- Check() - Constructor for class com.puppycrawl.tools.checkstyle.api.Check
-
- checkChildren(DetailAST, int[], IndentLevel, boolean, boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indent level of the children of the specified parent
expression.
- CheckDocsDoclet - Class in com.puppycrawl.tools.checkstyle.doclets
-
Doclet which is used to extract Anakia input files from the
Javadoc of Check implementations, so the Check's docs are
autogenerated.
- Checker - Class in com.puppycrawl.tools.checkstyle
-
This class provides the functionality to check a set of files.
- Checker() - Constructor for class com.puppycrawl.tools.checkstyle.Checker
-
Creates a new Checker
instance.
- checkExpressionSubtree(DetailAST, IndentLevel, boolean, boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation level for an expression subtree.
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.CaseHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.CatchHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.DoWhileHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation of the expression we are handling.
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ForHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IfHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ImportHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndexHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LabelHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler
-
Checks line wrapping into expressions and definitions.
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MemberDefHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodCallHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodDefHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.NewHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.PackageDefHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.PrimordialHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
- checkIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.WhileHandler
-
- checkLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Check the indentation of the left curly brace.
- checkLinesIndent(int, int, IndentLevel) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation of consecutive lines for the expression we are
handling.
- checkLParen(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation of the left parenthesis.
- checkModifiers() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation level of modifiers.
- checkModifiers() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MemberDefHandler
-
- checkModifiers() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodDefHandler
-
- checkRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Check the indentation of the right curly brace.
- checkRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- checkRParen(DetailAST, DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Check the indentation of the right parenthesis.
- CHECKSTYLE_BUNDLE - Static variable in class com.puppycrawl.tools.checkstyle.Defn
-
Name of resource bundle for Checkstyle.
- CHECKSTYLE_PREFIX - Static variable in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
Optional prefix for warning suppressions that are only intended to be
recognized by checkstyle.
- CheckstyleException - Exception in com.puppycrawl.tools.checkstyle.api
-
Represents an error condition within Checkstyle.
- CheckstyleException(String) - Constructor for exception com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
Creates a new CheckstyleException
instance.
- CheckstyleException(String, Throwable) - Constructor for exception com.puppycrawl.tools.checkstyle.api.CheckstyleException
-
Creates a new CheckstyleException
instance
that was caused by another exception.
- CheckStyleTask - Class in com.puppycrawl.tools.checkstyle
-
An implementation of a ANT task for calling checkstyle.
- CheckStyleTask() - Constructor for class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- CheckStyleTask.Formatter - Class in com.puppycrawl.tools.checkstyle
-
Details about a formatter to be used.
- CheckStyleTask.Formatter() - Constructor for class com.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
-
- CheckStyleTask.FormatterType - Class in com.puppycrawl.tools.checkstyle
-
Poor mans enumeration for the formatter types.
- CheckStyleTask.FormatterType() - Constructor for class com.puppycrawl.tools.checkstyle.CheckStyleTask.FormatterType
-
- CheckStyleTask.Listener - Class in com.puppycrawl.tools.checkstyle
-
Represents a custom listener.
- CheckStyleTask.Listener() - Constructor for class com.puppycrawl.tools.checkstyle.CheckStyleTask.Listener
-
- CheckStyleTask.Property - Class in com.puppycrawl.tools.checkstyle
-
Represents a property that consists of a key and value.
- CheckStyleTask.Property() - Constructor for class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- checkToplevelToken() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Check the indent of the top level token.
- checkToplevelToken() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ElseHandler
-
- checkToplevelToken() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IfHandler
-
- CheckUtils - Class in com.puppycrawl.tools.checkstyle.checks
-
Contains utility methods for the checks.
- childrenMayNest() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- childrenMayNest() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Determines if child elements within the expression may be nested.
- CLASS_DEF - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A class declaration.
- CLASS_DEF - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- classBlock() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ClassDataAbstractionCouplingCheck - Class in com.puppycrawl.tools.checkstyle.checks.metrics
-
This metric measures the number of instantiations of other classes
within the given class.
- ClassDataAbstractionCouplingCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.metrics.ClassDataAbstractionCouplingCheck
-
Creates bew instance of the check.
- ClassDefHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for class definitions.
- ClassDefHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- classDefinition(AST) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ClassFanOutComplexityCheck - Class in com.puppycrawl.tools.checkstyle.checks.metrics
-
The number of other classes a given class relies on.
- ClassFanOutComplexityCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.metrics.ClassFanOutComplexityCheck
-
Creates new instance of this check.
- classOrInterfaceType(boolean) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ClassResolver - Class in com.puppycrawl.tools.checkstyle.checks
-
Utility class to resolve a class name to an actual class.
- ClassResolver(ClassLoader, String, Set<String>) - Constructor for class com.puppycrawl.tools.checkstyle.checks.ClassResolver
-
Creates a new ClassResolver
instance.
- ClassTypeParameterNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Checks that class type parameter names conform to a format specified
by the format property.
- ClassTypeParameterNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck
-
Creates a new ClassTypeParameterNameCheck
instance.
- classTypeSpec(boolean) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- clear() - Method in class com.puppycrawl.tools.checkstyle.api.FastStack
-
Clears the stack.
- clear() - Method in class com.puppycrawl.tools.checkstyle.api.FilterSet
-
Clears the FilterSet.
- clearCache() - Static method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
Clears the cache.
- closeQuietly(Closeable) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
- closeStreams() - Method in class com.puppycrawl.tools.checkstyle.DefaultLogger
-
Flushes the output streams and closes them if needed.
- CodeSelector - Class in com.puppycrawl.tools.checkstyle.gui
-
- CodeSelector(DetailAST, JTextArea, List<Integer>) - Constructor for class com.puppycrawl.tools.checkstyle.gui.CodeSelector
-
- COLON - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The :
(colon) operator.
- COLON - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- com.puppycrawl.tools.checkstyle - package com.puppycrawl.tools.checkstyle
-
Contains the implementation of the Checkstyle framework.
- com.puppycrawl.tools.checkstyle.api - package com.puppycrawl.tools.checkstyle.api
-
Contains the core API to be used to implement checks.
- com.puppycrawl.tools.checkstyle.checks - package com.puppycrawl.tools.checkstyle.checks
-
Contains the checks that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.annotation - package com.puppycrawl.tools.checkstyle.checks.annotation
-
Contains the Annotation checks that are
bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.blocks - package com.puppycrawl.tools.checkstyle.checks.blocks
-
Contains the Block checks that are
bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.coding - package com.puppycrawl.tools.checkstyle.checks.coding
-
Contains the Coding checks that are
bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.design - package com.puppycrawl.tools.checkstyle.checks.design
-
Contains the Class Design checks that
are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.duplicates - package com.puppycrawl.tools.checkstyle.checks.duplicates
-
Duplicate code detection tools.
- com.puppycrawl.tools.checkstyle.checks.header - package com.puppycrawl.tools.checkstyle.checks.header
-
File Header checks.
- com.puppycrawl.tools.checkstyle.checks.imports - package com.puppycrawl.tools.checkstyle.checks.imports
-
Contains the Imports checks that are
bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.indentation - package com.puppycrawl.tools.checkstyle.checks.indentation
-
Contains all classes required for the
indentation check.
- com.puppycrawl.tools.checkstyle.checks.javadoc - package com.puppycrawl.tools.checkstyle.checks.javadoc
-
Contains the Javadoc checks that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.metrics - package com.puppycrawl.tools.checkstyle.checks.metrics
-
Contains the Metrics checks that are
bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.modifier - package com.puppycrawl.tools.checkstyle.checks.modifier
-
Contains the modifier checks that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.naming - package com.puppycrawl.tools.checkstyle.checks.naming
-
Contains the Naming conventions checks
that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.regexp - package com.puppycrawl.tools.checkstyle.checks.regexp
-
Contains the regular expression checks that are bundled with the main
distribution.
- com.puppycrawl.tools.checkstyle.checks.sizes - package com.puppycrawl.tools.checkstyle.checks.sizes
-
Contains the Size Violations checks
that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.checks.whitespace - package com.puppycrawl.tools.checkstyle.checks.whitespace
-
Contains the Whitespace checks that
are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.doclets - package com.puppycrawl.tools.checkstyle.doclets
-
Contains the doclets used during the build of Checktyle.
- com.puppycrawl.tools.checkstyle.filters - package com.puppycrawl.tools.checkstyle.filters
-
Contains the filters that are bundled with the main distribution.
- com.puppycrawl.tools.checkstyle.grammars - package com.puppycrawl.tools.checkstyle.grammars
-
Contains the grammar used by the Checkstyle framework.
- com.puppycrawl.tools.checkstyle.gui - package com.puppycrawl.tools.checkstyle.gui
-
User interface classes for CheckStyle.
- COMMA - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The ,
(comma) operator.
- COMMA - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- Comment - Class in com.puppycrawl.tools.checkstyle.api
-
Representation of the comment block.
- Comment(String[], int, int, int) - Constructor for class com.puppycrawl.tools.checkstyle.api.Comment
-
Creates new instance.
- CommentListener - Interface in com.puppycrawl.tools.checkstyle.grammars
-
This interface is used to be notified by parser about comments
in the parsed code.
- compareTo(LineColumn) - Method in class com.puppycrawl.tools.checkstyle.api.LineColumn
- compareTo(LocalizedMessage) - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
- compareTo(SuppressionCommentFilter.Tag) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
Compares the position of this tag in the file
with the position of another tag.
- compareTo(SuppressWithNearbyCommentFilter.Tag) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
Compares the position of this tag in the file
with the position of another tag.
- compilationUnit() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- compoundStatement() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- conditionalExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- Configurable - Interface in com.puppycrawl.tools.checkstyle.api
-
A component that can be configured.
- Configuration - Interface in com.puppycrawl.tools.checkstyle.api
-
A Configuration is used to configure a Configurable component.
- ConfigurationLoader - Class in com.puppycrawl.tools.checkstyle
-
Loads a configuration from a standard configuration XML file.
- configure(Configuration) - Method in class com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
Implements the Configurable interface using bean introspection.
- configure(Configuration) - Method in interface com.puppycrawl.tools.checkstyle.api.Configurable
-
Configures this component.
- constant() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ConstantNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Checks that constant names conform to a format specified
by the format property.
- ConstantNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck
-
Creates a new ConstantNameCheck
instance.
- constructorBody() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- contains(E) - Method in class com.puppycrawl.tools.checkstyle.api.FastStack
-
Returns if the stack contains the specified element.
- containsAnnotation(DetailAST, String) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Checks to see if the AST is annotated with
the passed in annotation.
- containsAnnotation(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Checks to see if the AST is annotated with
any annotation.
- Context - Interface in com.puppycrawl.tools.checkstyle.api
-
A context to be used in subcomponents.
- Contextualizable - Interface in com.puppycrawl.tools.checkstyle.api
-
A Component that needs context information from it's container to work.
- contextualize(Context) - Method in class com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
Implements the Contextualizable interface using bean introspection.
- contextualize(Context) - Method in interface com.puppycrawl.tools.checkstyle.api.Contextualizable
-
Sets the context for this Component.
- CovariantEqualsCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks that if a class defines a covariant method equals,
then it defines method equals(java.lang.Object).
- CovariantEqualsCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck
-
- createClassInfo(AbstractTypeAwareCheck.Token, String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Creates class info for given name.
- createClasspath() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- createFullIdent(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.FullIdent
-
Creates a new FullIdent starting from the specified node.
- createFullIdentBelow(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.FullIdent
-
Creates a new FullIdent starting from the child of the specified node.
- createFullType(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Creates FullIdent
for given type node.
- createListener(Task) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
-
Creates a listener for the formatter.
- createModule(String) - Method in interface com.puppycrawl.tools.checkstyle.ModuleFactory
-
Creates a new instance of a class from a given name.
- createPattern(String) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
Helper method to create a regular expression.
- CTOR_CALL - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A constructor call.
- CTOR_CALL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- CTOR_DEF - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A constructor declaration.
- CTOR_DEF - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ctorHead() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- curlyLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- curlyLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the expected indentation level for the curly braces.
- CustomImportOrderCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
Checks that the groups of import declarations appear in the order specified
by the user.
- CustomImportOrderCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
- CyclomaticComplexityCheck - Class in com.puppycrawl.tools.checkstyle.checks.metrics
-
Checks cyclomatic complexity against a specified limit.
- CyclomaticComplexityCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck
-
Create an instance.
- GE - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The >=
(greater than or equal) operator.
- GE - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- GeneratedJavaLexer - Class in com.puppycrawl.tools.checkstyle.grammars
-
- GeneratedJavaLexer(InputStream) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- GeneratedJavaLexer(Reader) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- GeneratedJavaLexer(InputBuffer) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- GeneratedJavaLexer(LexerSharedInputState) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- GeneratedJavaRecognizer - Class in com.puppycrawl.tools.checkstyle.grammars
-
Java 1.5 Recognizer
This grammar is in the PUBLIC DOMAIN
- GeneratedJavaRecognizer(TokenBuffer, int) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- GeneratedJavaRecognizer(TokenBuffer) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- GeneratedJavaRecognizer(TokenStream, int) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- GeneratedJavaRecognizer(TokenStream) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- GeneratedJavaRecognizer(ParserSharedInputState) - Constructor for class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- GeneratedJavaTokenTypes - Interface in com.puppycrawl.tools.checkstyle.grammars
-
- GENERIC_END - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
'>' symbol signifying the end of type arguments or type parameters.
- GENERIC_END - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- GENERIC_START - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
'<' symbol signifying the start of type arguments or type
parameters.
- GENERIC_START - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- GenericWhitespaceCheck - Class in com.puppycrawl.tools.checkstyle.checks.whitespace
-
Checks that the whitespace around the Generic tokens (angle brackets)
"<" and ">" are correct to the typical convention.
- GenericWhitespaceCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck
-
- get(String) - Method in interface com.puppycrawl.tools.checkstyle.api.Context
-
Searches for the value with the specified attribute key in this context.
- get(int) - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Retrieves a line of the text by its number.
- get(String) - Method in class com.puppycrawl.tools.checkstyle.DefaultContext
-
Searches for the value with the specified attribute key in this context.
- getAbstractOption() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingDeprecatedCheck
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.SuppressWarningsCheck
-
The configurable token set.
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoLineWrapCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck
-
- getAcceptableTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.SeparatorWrapCheck
-
- getAlias(String) - Static method in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
Returns the alias for the source name of a check.
- getAllExceptionTypes(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck
-
Finds all exception types in current catch.
- getAnnotation(DetailAST, String) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Checks to see if the AST is annotated with
the passed in annotation and return the AST
representing that annotation.
- getAnnotationHolder(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Gets the AST that holds a series of annotations for the
potentially annotated AST.
- getApplyToPackage() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
- getApplyToPrivate() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
- getApplyToProtected() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
- getApplyToPublic() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
- getArg1() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- getArrayInitIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the line-wrapping indentation level.
- getAttribute(String) - Method in interface com.puppycrawl.tools.checkstyle.api.Configuration
-
The attribute value for an attribute name.
- getAttribute(String) - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
The attribute value for an attribute name.
- getAttributeNames() - Method in interface com.puppycrawl.tools.checkstyle.api.Configuration
-
The set of attribute names.
- getAttributeNames() - Method in interface com.puppycrawl.tools.checkstyle.api.Context
-
Returns the names of all atttributes of this context.
- getAttributeNames() - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
The set of attribute names.
- getAttributeNames() - Method in class com.puppycrawl.tools.checkstyle.DefaultContext
-
Returns the names of all atttributes of this context.
- getBasedir() - Method in class com.puppycrawl.tools.checkstyle.Checker
-
- getBasicOffset() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
A shortcut for IndentationCheck
property.
- getBasicOffset() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the basic offset.
- getBraceAdjustement() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
A shortcut for IndentationCheck
property.
- getBraceAdjustement() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the brace adjustment amount.
- getBytes() - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Get the binary contents of the file.
- getCaseIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the case indentation level.
- getCComments() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
Returns a map of all C style comments.
- getCellEditorValue() - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- getCharset() - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Get the character set which was used to read the file.
- getCheckedChildren() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Returns array of token types which should be checked among childrens.
- getCheckedChildren() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- getCheckFields() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
- getCheckMethods() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
- getChild(Object, int) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getChildCount() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
Returns the number of child nodes one level below this node.
- getChildCount(int) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
Returns the number of direct child tokens that have the specified type.
- getChildCount(Object) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getChildren() - Method in interface com.puppycrawl.tools.checkstyle.api.Configuration
-
The set of child configurations.
- getChildren() - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
The set of child configurations.
- getChildrenExpectedLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getChildrenExpectedLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
- getClassLoader() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Returns the class loader associated with the tree.
- getClassname() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Listener
-
- getClazz() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
-
- getCol() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.InvalidJavadocTag
-
- getColumn() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getColumn() - Method in class com.puppycrawl.tools.checkstyle.api.LineColumn
-
- getColumn() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
Determines the column number of the tag in the source file.
- getColumnClass(int) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- getColumnClass(int) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getColumnClass(int) - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
- getColumnClass(int) - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
- getColumnCount() - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getColumnCount() - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
- getColumnCount() - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
-
- getColumnName(int) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getColumnName(int) - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
- getColumnName(int) - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.api.FullIdent
-
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
-
- getColumnNo() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- getConfiguration() - Method in class com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
Returns the configuration that was used to configure this component.
- getContents() - Static method in class com.puppycrawl.tools.checkstyle.checks.FileContentsHolder
-
- getCount() - Method in class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Returns the number of counted events since audit started.
- getCppComments() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
Returns a map of all the C++ style comments.
- getCurrentClassName() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Returns current class.
- getCurrentIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler
-
- getCurrentValue() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
- getCustomMessages() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Returns an unmodifiable map instance containing the custom messages
for this configuration.
- getDefaultAlias(String) - Static method in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
Returns the default alias for the source name of a check, which is the
source name in lower case with any dotted prefix or "Check" suffix
removed.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingDeprecatedCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.SuppressWarningsCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.EmptyBlockCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.NeedBracesCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalMethodCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractSuperCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ArrayTrailingCommaCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DefaultComesLastCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.EmptyStatementCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.EqualsAvoidNullCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.EqualsHashCodeCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.JUnitTestCaseCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MissingCtorCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MissingSwitchDefaultCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MultipleVariableDeclarationsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.NestedForDepthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.NestedIfDepthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.NestedTryDepthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.OneStatementPerLineCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.OverloadMethodsDeclarationOrderCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.PackageDeclarationCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.UnnecessaryParenthesesCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.DesignForExtensionCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.FinalClassCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.HideUtilityClassConstructorCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.InnerTypeLastCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.OneTopLevelClassCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.FileContentsHolder
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.FinalParametersCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.RedundantImportCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.modifier.ModifierOrderCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractTypeParameterNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.ConstantNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.LocalFinalVariableNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.MemberNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.PackageNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.ParameterNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.TypeNameCheck
-
Returns the default token a check is interested in.
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.OuterTypeFilenameCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.OuterTypeNumberCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.TodoCommentCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.TrailingCommentCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UpperEllCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForInitializerPadCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyForIteratorPadCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.GenericWhitespaceCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoLineWrapCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.OperatorWrapCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.ParenPadCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.SeparatorWrapCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAfterCheck
-
- getDefaultTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
- getDestDir(String[][]) - Static method in class com.puppycrawl.tools.checkstyle.doclets.CheckDocsDoclet
-
Return the destination directory for this Javadoc run.
- getEditingRow() - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable
-
- getEndColNo() - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
The column in the inputfile where the text block ends.
- getEndColNo() - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
The column in the inputfile where the text block ends.
- getEndLineNo() - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
The last line of the text block in the inputfile.
- getEndLineNo() - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
The last line of the text block in the inputfile.
- getExceptionLogger() - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
Accessor for shared instance of logger which should be
used to log all exceptions occurred during FileSetCheck
work (debug()
should be used).
- getFile() - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Get the name of the file.
- getFileContents() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Returns the file contents associated with the tree.
- getFileContents() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
- getFileContents() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
- getFileName() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getFilename() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
- getFilterChain() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionsLoader
-
Returns the loaded filter chain.
- getFilters() - Method in class com.puppycrawl.tools.checkstyle.api.FilterSet
-
Returns the Filters of the filter set.
- getFirstChild() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- getFirstIndentLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Returns first indentation level.
- getFirstLine(int, DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Get the first line for a given expression.
- getFirstLine() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
- getFirstNode(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Finds sub-node for given node minimal (line, column) pair.
- getFirstNode() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler
-
- getFormat() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
- getFullText() - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Retrieve the full text of the file.
- getHandledTypes() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory
-
Gets list of registered handler types.
- getHandler(IndentationCheck, DetailAST, ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory
-
Get the handler for an AST.
- getHeaderLines() - Method in class com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck
-
Return the header lines to check against.
- getId() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Returns the identifier of the reporter.
- getIgnoredMethodNames() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Get the list of ignored method names.
- getIgnoreNamePattern() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
-
Gets the variable names to ignore in the check.
- getIllegalClassNames() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Get the list of illegal variable types.
- getIndentationTabWidth() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the width of a tab.
- getIndentCheck() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Accessor for the IndentCheck attribute.
- getIndentLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler
-
- getIndexOfChild(Object, Object) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- getInstance(String) - Static method in enum com.puppycrawl.tools.checkstyle.api.Scope
-
Scope factory method.
- getInstance(String) - Static method in enum com.puppycrawl.tools.checkstyle.api.SeverityLevel
-
SeverityLevel factory method.
- getInvalidTags() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTags
-
- getJavadocBefore(int) - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
Returns the Javadoc comment before the specified line.
- getJavadocTags(TextBlock, JavadocUtils.JavadocTagType) - Static method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocUtils
-
Gets validTags from a given piece of Javadoc.
- getKey() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
Returns the message key to locate the translation, can also be used
in IDE plugins to map error messages to corrective actions.
- getKey() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- getLastChild() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- getLastIndentLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Returns last indentation level.
- getLastLine() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
- getLastNode() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineWrappingHandler
-
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the left curly brace portion of the expression we are handling.
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- getLCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
- getLegalAbstractClassNames() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Get the list of legal abstract class names.
- getLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Get the indentation amount for this handler.
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.CaseHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Compute the indentation amount for this handler.
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IfHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LabelHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodCallHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.NewHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- getLevelImpl() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.PrimordialHandler
-
- getLine() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
return the line number on the source file where the event occurred.
- getLine() - Method in class com.puppycrawl.tools.checkstyle.api.LineColumn
-
- getLine() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.InvalidJavadocTag
-
- getLine() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.api.FullIdent
-
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
-
- getLineNo() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- getLineNumber(List<String>, String) - Method in class com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck
-
Method returns line number the key is detected in the checked properties
files first.
- getLines() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Returns the lines associated with the tree.
- getLines() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
- getLines(String) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
- getLines(String, String) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
- getLines2position() - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeInfoPanel
-
- getLineStart(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Get the start of the line for the given expression.
- getLineStart(String) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Get the start of the specified line.
- getLineWrappingIndentation() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the array line-wrapping indentation level.
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the child element representing the list of statements.
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- getListChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
- getListeners() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Return the list of listeners set in this task.
- getLocalizedMessage() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getLocation() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractTypeParameterNameCheck
-
This method must be overriden to specify the
location of the type parameter to check.
- getLocation() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.ClassTypeParameterNameCheck
-
- getLocation() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.InterfaceTypeParameterNameCheck
-
- getLocation() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.MethodTypeParameterNameCheck
-
- getLogMessageId() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
- getLogMessageId() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.ClassDataAbstractionCouplingCheck
-
- getLogMessageId() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.ClassFanOutComplexityCheck
-
- getLParen() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the left parenthesis portion of the expression we are handling.
- getMainAst() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Accessor for the MainAst attribute.
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractNestedDepthCheck
-
Getter for maximum allowed nesting depth.
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck
-
Getter for max property.
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck
-
Getter for max property.
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck
-
Getter for maximum allowed complexity.
- getMax() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck
-
Gets the maximum threshold.
- getMessage() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
return the message associated to the event.
- getMessage() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getMessage() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
Getter for message property.
- getMessage() - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Getter for message property.
- getMessageBundle() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Returns the message bundle name resourcebundle that contains the messages
used by this module.
- getMessageCollector() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
Returns the collector for violation messages.
- getMessageDispatcher() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
A message dispatcher is used to fire violation messages to
interested audit listeners.
- getMessageID() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
- getMessageID() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.CyclomaticComplexityCheck
-
- getMessageID() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.NPathComplexityCheck
-
- getMessages() - Method in interface com.puppycrawl.tools.checkstyle.api.Configuration
-
Returns an unmodifiable map instance containing the custom messages
for this configuration.
- getMessages() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessages
-
- getMessages() - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
Returns an unmodifiable map instance containing the custom messages
for this configuration.
- getMethodName() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractSuperCheck
-
Returns the name of the overriding method.
- getMethodName() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SuperCloneCheck
-
- getMethodName() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SuperFinalizeCheck
-
- getModuleId() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getModuleId() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getName() - Method in interface com.puppycrawl.tools.checkstyle.api.Configuration
-
The name of this configuration.
- getName() - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Gets the tag name.
- getName() - Method in enum com.puppycrawl.tools.checkstyle.api.Scope
-
- getName() - Method in enum com.puppycrawl.tools.checkstyle.api.SeverityLevel
-
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.ClassInfo
-
- getName() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.InvalidJavadocTag
-
- getName() - Method in class com.puppycrawl.tools.checkstyle.DefaultConfiguration
-
The name of this configuration.
- getNextSibling() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- getNonlistChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the child element that is not a list of statements.
- getNonlistChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ElseHandler
-
- getNonlistChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- getNonlistChild() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
- getPackageNames(ClassLoader) - Static method in class com.puppycrawl.tools.checkstyle.PackageNamesLoader
-
Returns the set of package names, compiled from all
checkstyle_packages.xml files found on the given classloaders
classpath.
- getParent() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
Returns the parent token.
- getParent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Accessor for the Parent attribute.
- getPattern(String) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
This is a factory method to return an Pattern object for the specified
regular expression.
- getPattern(String, int) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
This is a factory method to return an Pattern object for the specified
regular expression and compile flags.
- getPreviousSibling() - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
Returns the previous sibling or null if no such sibling exists.
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the right curly brace portion of the expression we are handling.
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- getRCurly() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
- getRegexp() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
- getRegexp() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
The tokens that this check must be registered for.
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
The tokens that this check must be registered for.
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck
-
The tokens that this check must be registered for.
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.PackageAnnotationCheck
-
The tokens that this check must be registered for.
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractNestedDepthCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AvoidInlineConditionalsCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.CovariantEqualsCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ExplicitInitializationCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FinalLocalVariableCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.JUnitTestCaseCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ModifiedControlVariableCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.PackageDeclarationCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ParameterAssignmentCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.MutableExceptionCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.ClassDataAbstractionCouplingCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.ClassFanOutComplexityCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.modifier.RedundantModifierCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
-
- getRequiredTokens() - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.TypecastParenPadCheck
-
- getRoot() - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- getRowCount() - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
-
- getRParen() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the right parenthesis portion of the expression we are handling.
- getScopeFromMods(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns the Scope specified by the modifier set.
- getSeverity() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Get the severity level's name.
- getSeverityLevel() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Returns the severity level of the messages generated by this module.
- getSeverityLevel() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getSeverityLevel() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getShortDescription(String) - Static method in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
Returns the short description of a token for a given name.
- getSourceName() - Method in class com.puppycrawl.tools.checkstyle.api.AuditEvent
-
- getSourceName() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- getStartColNo() - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
The column in the inputfile where the text block starts.
- getStartColNo() - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
The column in the inputfile where the text block starts.
- getStartColumn(Integer) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineSet
-
Get the starting column for a given line number.
- getStartLineNo() - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
The line in the inputfile where the text block starts.
- getStartLineNo() - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
The line in the inputfile where the text block starts.
- getStrippedFileName(String, String) - Static method in class com.puppycrawl.tools.checkstyle.api.Utils
-
Create a stripped down version of a filename.
- getSurroundingScope(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns the scope of the surrounding "block".
- getTableCellEditorComponent(JTable, Object, boolean, int, int) - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable.TreeTableCellEditor
-
- getTabWidth() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
- getTagName() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- getText() - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
The text content of the text block.
- getText() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
Get the full text of the file.
- getText() - Method in class com.puppycrawl.tools.checkstyle.api.FullIdent
-
- getText() - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Gets the tag text.
- getText() - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
The text content of the text block.
- getText() - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck.Token
-
- getText() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
- getText() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
- getThrowsIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Get the throws indentation level.
- getTokenId(String) - Static method in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
Returns the ID of a token for a given name.
- getTokenName(int) - Static method in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
Returns the name of a token for a given ID.
- getTokenNames() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Returns the tokens registered for the check.
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ArrayInitHandler
-
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
Get the top level expression being managed by this handler.
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ClassDefHandler
-
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodDefHandler
-
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ObjectBlockHandler
-
- getToplevelAST() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- getTree() - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable
-
- getType() - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Gets the Tag type defined by
Type
.
- getTypeParameterNames(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Retrieves the names of the type parameters to the node.
- getTypeParameters(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Retrieves the type parameters to the node.
- getValidTags() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTags
-
- getValue() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- getValueAt(Object, int) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- getValueAt(Object, int) - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
- getValueAt(int, int) - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
-
- getValues() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.FormatterType
-
- GT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The >
(greater than) operator.
- gt(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
- GT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ID_PART - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ID_START - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- IDENT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An identifier.
- IDENT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- identifier() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- identifierStar() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- IfHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for if statements.
- IfHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.IfHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- IllegalCatchCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException
is almost never acceptable.
- IllegalCatchCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalCatchCheck
-
Creates new instance of the check.
- IllegalImportCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
Checks for imports from a set of illegal packages.
- IllegalImportCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck
-
Creates a new IllegalImportCheck
instance.
- IllegalInstantiationCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for illegal instantiations where a factory method is preferred.
- IllegalInstantiationCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck
-
- IllegalThrowsCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Throwing java.lang.Error or java.lang.RuntimeException
is almost never acceptable.
- IllegalThrowsCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck
-
Creates new instance of the check.
- IllegalTokenCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for illegal tokens.
- IllegalTokenCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenCheck
-
- IllegalTokenTextCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for illegal token text.
- IllegalTokenTextCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
Instantiates a new instance.
- IllegalTypeCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks that particular class are never used as types in variable
declarations, return values or parameters.
- IllegalTypeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Creates new instance of the check.
- IMPLEMENTS_CLAUSE - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An implements clause.
- IMPLEMENTS_CLAUSE - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- implementsClause() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- IMPORT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An import declaration.
- IMPORT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- ImportControlCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
Check that controls what packages can be imported in each package.
- ImportControlCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck
-
- importDefinition() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- ImportHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for import statements.
- ImportHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.ImportHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- ImportOrderCheck - Class in com.puppycrawl.tools.checkstyle.checks.imports
-
groups imports: ensures that groups of imports come in a specific order
(e.g., java.
- ImportOrderCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
Groups static imports under each group.
- ImportOrderOption - Enum in com.puppycrawl.tools.checkstyle.checks.imports
-
Represents the policy for checking import order statements.
- inAnnotationBlock(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether a node is directly contained within an annotation block.
- INC - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The ++
(prefix increment) operator.
- INC - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- inclusiveOrExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- inCodeBlock(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether the scope of a node is restricted to a code block.
- incrementCurrentValue(BigInteger) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
Increments the current value by a specified amount.
- IndentationCheck - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Checks correct indentation of Java Code.
- IndentationCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Creates a new instance of IndentationCheck.
- indentationLog(int, String, Object...) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Log an error message.
- IndentLevel - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Encapsulates representation of notion of expected indentation levels.
- IndentLevel(int) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Creates new instance with one accaptable indentation level.
- IndentLevel(IndentLevel, int...) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Creates new instance for nested structure.
- INDEX_OP - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The array index operator.
- INDEX_OP - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- IndexHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for array index operation.
- IndexHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.IndexHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- inEnumBlock(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether a node is directly contained within an enum block.
- inferredParameterList() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- inInterfaceBlock(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether a node is directly contained within an interface block.
- inInterfaceOrAnnotationBlock(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether a node is directly contained within an interface or
annotation block.
- init() - Method in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
Initialise the instance.
- init() - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Initialise the check.
- init() - Method in interface com.puppycrawl.tools.checkstyle.api.FileSetCheck
-
Initialise the instance.
- init() - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck
-
- init() - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractTypeParameterNameCheck
-
- init() - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
- initialize(Token) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- initialize(AST) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- initializer() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- InnerAssignmentCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for assignments in subexpressions, such as in
String s = Integer.toString(i = 2);
.
- InnerAssignmentCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.InnerAssignmentCheck
-
- InnerTypeLastCheck - Class in com.puppycrawl.tools.checkstyle.checks.design
-
Check nested (internal) classes/interfaces are declared at the bottom of the
class after all method and field declarations.
- InnerTypeLastCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.design.InnerTypeLastCheck
-
- inPackageInfo() - Method in class com.puppycrawl.tools.checkstyle.api.FileContents
-
Checks if the current file is a package-info.java file.
- INSTANCE - Static variable in class com.puppycrawl.tools.checkstyle.checks.regexp.NeverSuppress
-
The shared instance.
- INSTANCE_INIT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An instance initializer.
- INSTANCE_INIT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- INT_LITERAL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- INTERFACE_DEF - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
An interface declaration.
- INTERFACE_DEF - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- interfaceDefinition(AST) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- interfaceExtends() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- InterfaceIsTypeCheck - Class in com.puppycrawl.tools.checkstyle.checks.design
-
Implements Bloch, Effective Java, Item 17 -
Use Interfaces only to define types.
- InterfaceIsTypeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck
-
- InterfaceTypeParameterNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Checks that interface type parameter names conform to a format specified
by the format property.
- InterfaceTypeParameterNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.InterfaceTypeParameterNameCheck
-
Creates a new InterfaceTypeParameterNameCheck
instance.
- intersects(int, int, int, int) - Method in class com.puppycrawl.tools.checkstyle.api.Comment
-
Checks if this comment intersects with a specified
part of the file.
- intersects(int, int, int, int) - Method in interface com.puppycrawl.tools.checkstyle.api.TextBlock
-
Checks if this comment intersects with a specified
part of the file.
- InvalidJavadocTag - Class in com.puppycrawl.tools.checkstyle.checks.javadoc
-
Value object for storing data about an invalid Javadoc validTags.
- InvalidJavadocTag(int, int, String) - Constructor for class com.puppycrawl.tools.checkstyle.checks.javadoc.InvalidJavadocTag
-
Creates an instance.
- IO_EXCEPTION_KEY - Static variable in class com.puppycrawl.tools.checkstyle.checks.UniquePropertiesCheck
-
Localization key for IO exception occurred on file open.
- isAnnotatingType(DetailAST, int) - Static method in class com.puppycrawl.tools.checkstyle.api.AnnotationUtility
-
Checks to see if the passed in AST (representing
an annotation) is annotating the passed in type.
- isAuthorTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isCellEditable(EventObject) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- isCellEditable(Object, int) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
By default, make the column with the Tree in it the only editable one.
- isCellEditable(EventObject) - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable.TreeTableCellEditor
-
Overridden to return false, and if the event is a mouse event
it is forwarded to the tree.
- isCellEditable(Object, int) - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
Indicates whether the the value for node node
,
at column number column
is editable.
- isCellEditable(int, int) - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
- isClassField(String) - Method in class com.puppycrawl.tools.checkstyle.checks.DeclarationCollector
-
Check if given name is a name for class field in current environment.
- isElseIf(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Returns whether a token represents an ELSE as part of an ELSE / IF set.
- isEmpty() - Method in class com.puppycrawl.tools.checkstyle.api.FastStack
-
Returns whether the stack is empty.
- isEmpty() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.LineSet
-
Determines if this set of lines is empty.
- isEqualsMethod(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.checks.CheckUtils
-
Tests whether a method definition AST defines an equals covariant.
- isHandledType(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.HandlerFactory
-
Returns true if this type (form TokenTypes) is handled.
- isIllegalClassName(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalCheck
-
Checks if given class is illegal.
- isIn(Scope) - Method in enum com.puppycrawl.tools.checkstyle.api.Scope
-
Checks if this scope is a subscope of another scope.
- isInheritDocTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isLeaf(Object) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- isLoadable(String) - Method in class com.puppycrawl.tools.checkstyle.checks.ClassResolver
-
- isLocalVariableDef(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Determines whether a node is a local variable definition.
- isMatch(int, String) - Method in class com.puppycrawl.tools.checkstyle.checks.header.HeaderCheck
-
Checks if a code line matches the required header line.
- isMatch(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
Determines whether the source of an audit event
matches the text of this tag.
- isMatch(AuditEvent) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
Determines whether the source of an audit event
matches the text of this tag.
- isMissingJavadocAllowed(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
The JavadocMethodCheck is about to report a missing Javadoc.
- isMultiLevel() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentLevel
-
Checks wether we have more than one level.
- isOn() - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
Determines whether the suppression turns checkstyle reporting on or
off.
- isOuterMostType(DetailAST) - Static method in class com.puppycrawl.tools.checkstyle.api.ScopeUtils
-
Returns whether a node is contained in the outer most type block.
- isPackageAllowed() - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
- isParamTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isProtectedAllowed() - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
- isReference(String) - Method in class com.puppycrawl.tools.checkstyle.XMLLogger
-
- isReturnTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isSeeOrInheritDocTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isSubclass(Class<?>, Class<?>) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Checks if one class is subclass of another
- isSuppressed(String, int, int) - Static method in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
Checks for a suppression of a check with the given source name and
location in the last file processed.
- isThrowsTag() - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTag
-
- isUnchecked(Class<?>) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Is exception is unchecked (subclass of RuntimeException
or Error
- isValidInOverviewHtml() - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Checks if tag is valid in a overview.html Javadoc file.
- isValidInPackageHtml() - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Checks if tag is valid in a package.html Javadoc file.
- isValidName(String) - Static method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Returns whether the provided name is for a valid tag.
- isValidOn(DetailAST) - Method in enum com.puppycrawl.tools.checkstyle.api.JavadocTagInfo
-
Checks if a particular Javadoc tag is valid within a Javadoc block of a
given AST.
- iterator() - Method in class com.puppycrawl.tools.checkstyle.api.FastStack
-
Returns an iterator that goes from the oldest element to the newest.
- safeLoad(String) - Method in class com.puppycrawl.tools.checkstyle.checks.ClassResolver
-
Will load a specified class is such a way that it will NOT be
initialised.
- scanFileSets() - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
returns the list of files (full path name) to process.
- Scope - Enum in com.puppycrawl.tools.checkstyle.api
-
Represents a Java visibility scope.
- ScopeUtils - Class in com.puppycrawl.tools.checkstyle.api
-
Contains utility methods for working on scope.
- select() - Method in class com.puppycrawl.tools.checkstyle.gui.CodeSelector
-
- SEMI - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The statement terminator (;
).
- SEMI - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SeparatorWrapCheck - Class in com.puppycrawl.tools.checkstyle.checks.whitespace
-
Checks line wrapping with separators.
- SeparatorWrapCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.whitespace.SeparatorWrapCheck
-
Sets the comma wrap option to end of the line.
- setAcceptOnMatch(boolean) - Method in class com.puppycrawl.tools.checkstyle.filters.SeverityMatchFilter
-
Sets whether to accept or reject on matching severity level.
- setAliasList(String) - Method in class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
Registers a list of source name aliases based on a comma-separated list
of source=alias
items, such as com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck=
paramnum
.
- setAllowByTailComment(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
Set mAllowByTailComment.
- setAllowClassImports(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
-
Sets whether or not to allow all non-static class imports.
- setAllowClassName(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.MethodNameCheck
-
Sets the property for allowing a method to be the same name as a class.
- setAllowedAbbreviationLength(int) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
Allowed abbreviation length in names.
- setAllowedAbbreviations(String) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
Set a list of abbreviations that must be skipped for checking.
- setAllowedDistance(int) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck
-
Sets an allowed distance between declaration of variable and its first
usage.
- setAllowedDuplicates(int) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck
-
Sets the maximum allowed duplicates of a string.
- setAllowEmptyConstructors(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
Sets whether or not empty constructor bodies are allowed.
- setAllowEmptyLoops(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
Sets whether or not empty loop bodies are allowed.
- setAllowEmptyMethods(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
Sets whether or not empty method bodies are allowed.
- setAllowEmptyTypes(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
Sets whether or not empty type bodies are allowed.
- setAllowEscapesForControlCharacters(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
Set mAllowIfAllCharactersEscaped.
- setAllowIfAllCharactersEscaped(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
Set mAllowIfAllCharactersEscaped.
- setAllowInSwitchCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.AvoidNestedBlocksCheck
-
Setter for allowInSwitchCase property.
- setAllowLegacy(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocPackageCheck
-
Indicates whether to allow support for the legacy package.html
file.
- setAllowLineBreaks(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.MethodParamPadCheck
-
Control whether whitespace is flagged at linebreaks.
- setAllowLineBreaks(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceAfterCheck
-
Control whether whitespace is flagged at linebreaks.
- setAllowLineBreaks(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.NoWhitespaceBeforeCheck
-
Control whether whitespace is flagged at linebreaks.
- setAllowMarkerInterfaces(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.design.InterfaceIsTypeCheck
-
Controls whether marker interfaces like Serializable are allowed.
- setAllowMissingJavadoc(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
Controls whether to ignore errors when there is no javadoc.
- setAllowMissingParamTags(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
controls whether to allow a method which has parameters to omit matching
param tags in the javadoc.
- setAllowMissingParamTags(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Controls whether to allow a type which has type parameters to
omit matching param tags in the javadoc.
- setAllowMissingPropertyJavadoc(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
Controls whether to ignore errors when there is no javadoc for a
property accessor (setter/getter methods).
- setAllowMissingReturnTag(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
controls whether to allow a method which returns non-void type to omit
the return tag in the javadoc.
- setAllowMissingThrowsTags(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
controls whether to allow a method which declares that it throws
exceptions to omit matching throws tags in the javadoc.
- setAllowNoEmptyLineBetweenFields(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.EmptyLineSeparatorCheck
-
Allow no empty line between fields.
- setAllowNonPrintableEscapes(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AvoidEscapedUnicodeCharactersCheck
-
Set mAllowSpaceEscapes.
- setAllowOneCharVarInForLoop(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.LocalVariableNameCheck
-
- setAllowStaticMemberImports(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
-
Sets whether or not to allow all static member imports.
- setAllowSubclasses(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck
-
Getter for allowSubclasses property.
- setAllowThrowsTagsForSubclasses(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
controls whether to allow documented exception that are subclass of one
of declared exceptions.
- setAllowUnchecked(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RedundantThrowsCheck
-
Getter for allowUnchecked property.
- setAllowUndeclaredRTE(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
controls whether to allow documented exceptions that are not declared if
they are a subclass of java.lang.RuntimeException.
- setAllowUnknownTags(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Controls whether to flag errors for unknown tags.
- setApplyToPackage(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Sets whether we should apply the check to package-private members.
- setApplyToPrivate(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Sets whether we should apply the check to private members.
- setApplyToProtected(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Sets whether we should apply the check to protected members.
- setApplyToPublic(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Sets whether we should apply the check to public members.
- setArrayInitIndent(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Set the array initialisation indentation level.
- setAuthorFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Set the author tag pattern.
- setBasedir(String) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
- setBasedir(String) - Method in class com.puppycrawl.tools.checkstyle.checks.duplicates.StrictDuplicateCodeCheck
-
- setBasicOffset(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Set the basic offset.
- setBraceAdjustment(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Adjusts brace indentation (positive offset).
- setCacheFile(String) - Method in class com.puppycrawl.tools.checkstyle.TreeWalker
-
- setCaseIndent(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Set the case indentation level.
- setCaseSensitive(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
Sets whether string comparison should be case sensitive or not.
- setCharset(String) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Sets a named charset.
- setCharset(String) - Method in class com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck
-
Set the charset to use for loading the header from a file.
- setCheckC(boolean) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set whether to look in C comments.
- setCheckC(boolean) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set whether to look in C comments.
- setCheckCPP(boolean) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set whether to look in C++ comments.
- setCheckCPP(boolean) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set whether to look in C++ comments.
- setCheckEmptyJavadoc(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Sets the flag that determines if empty JavaDoc checking should be done.
- setCheckFields(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
Setter for checkFields property.
- setCheckFirstSentence(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Sets the flag that determines if the first sentence is checked for
proper end of sentence punctuation.
- setCheckFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set the format for a check.
- setCheckFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set the format for a check.
- setCheckHtml(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Sets the flag that determines if HTML checking is to be performed.
- setCheckLastCaseGroup(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck
-
Configures whether we need to check last case group or not.
- setCheckMethods(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.RequireThisCheck
-
Setter for checkMethods property.
- setChecks(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Set the check class pattern.
- setClasses(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalInstantiationCheck
-
Sets the classes that are illegal to instantiate.
- setClassLoader(ClassLoader) - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Set the class loader associated with the tree.
- setClassloader(ClassLoader) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Sets the classloader that is used to contextualize filesetchecks.
- setClassLoader(ClassLoader) - Method in class com.puppycrawl.tools.checkstyle.TreeWalker
-
- setClassMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck
-
Sets the maximum ncss for a class.
- setClassname(String) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Listener
-
- setClasspath(Path) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Set the class path.
- setClasspathRef(Reference) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Set the class path from a reference defined elsewhere.
- setClosingParens(String) - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
Sets the ClosingParens from a string.
- setColumns(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Sets the CSV values and ranges for column number filtering.
- setCommentFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set the format for a comment that turns off reporting.
- setCommentListener(CommentListener) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- setCompileFlags(int) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
Set the compile flags for the regular expression.
- setConfig(File) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- setConfigURL(URL) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- setCountEmpty(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck
-
- setCurrentValue(BigInteger) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
Set the current value
- setCustomImportOrderRules(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets a custom import order from the rules in the string format specified
by user.
- setDuplicateLimit(int) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Sets the maximum number of instances of required pattern allowed.
- setEachLine(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.FileTabCharacterCheck
-
Whether report on each line containing a tab.
- setEditor(JTextArea) - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable
-
- setElementStyle(String) - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
Sets the ElementStyle from a string.
- setEndOfSentenceFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Set the format for matching the end of a sentence.
- setErrorLimit(int) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Sets the limit on the number of errors to report.
- setExcludedClasses(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
Sets user-excluded classes to ignore.
- setExcludedClasses(String) - Method in class com.puppycrawl.tools.checkstyle.checks.UncommentedMainCheck
-
Set the excluded classes pattern.
- setExcludes(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStarImportCheck
-
Sets the list of packages or classes to be exempt from the check.
- setExcludes(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.AvoidStaticImportCheck
-
Sets the list of classes or static members to be exempt from the check.
- setExcludeScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
Set the excludeScope.
- setExcludeScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Set the excludeScope.
- setExcludeScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Set the excludeScope.
- setExcludeScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
-
Set the excludeScope.
- setFailOnViolation(boolean) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- setFailureProperty(String) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Tells this task to set the named property to "true" when there
is a violation.
- setFeaturesBySystemProperty(SAXParserFactory) - Static method in class com.puppycrawl.tools.checkstyle.api.AbstractLoader.LoadExternalDtdFeatureProvider
-
Configures SAXParserFactory with features required
to use external DTD file loading, this is not activated by default to no allow
usage of schema files that checkstyle do not know
it is even security problem to allow files from outside.
- setFile(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck
-
Set the parameter for the file containing the import control
configuration.
- setFile(File) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- setFile(File) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- setFile(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionFilter
-
Loads the suppressions for a file.
- setFileContents(FileContents) - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Set the file contents associated with the tree.
- setFileContents(FileContents) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set the FileContents for this filter.
- setFileContents(FileContents) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set the FileContents for this filter.
- setFileExtensions(String[]) - Method in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
Sets the file extensions that identify the files that pass the
filter of this FileSetCheck.
- setFileMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck
-
Sets the maximum ncss for a file.
- setFirstChild(AST) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- setFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractFormatCheck
-
Set the format to the specified regular expression.
- setFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck
-
Set the format of the regular expression to match.
- setFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
-
Set the format of the regular expression to match.
- setFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set the format of the regular expression to match.
- setGroups(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
Sets the list of package groups and the order they should occur in the
file.
- setHeader(String) - Method in class com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck
-
Set the header to check against.
- setHeaderFile(String) - Method in class com.puppycrawl.tools.checkstyle.checks.header.AbstractHeaderCheck
-
Set the header file to check against.
- setId(String) - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Sets the identifier of the reporter.
- setIgnoreAbstractMethods(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
Set whether to ignore parameters of abstract methods.
- setIgnoreAnnotation(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck
-
Set whether to ignore Annotations.
- setIgnoreCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
Set whether or not the match is case sensitive.
- setIgnoreCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck
-
Set whether to ignore case when matching.
- setIgnoreCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
-
Set whether to ignore case when matching.
- setIgnoreCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set whether to ignore case when matching.
- setIgnoreComments(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set whether to ignore comments when matching.
- setIgnoreComments(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Sets if matches within comments should be ignored.
- setIgnoreConstructorParameter(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
Set whether to ignore constructor parameters.
- setIgnoreConstructors(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck
-
Sets whether to ignore constructors.
- setIgnoreDirectoryName(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.PackageDeclarationCheck
-
Set whether to ignore checking the directory name.
- setIgnoredMethodNames(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalThrowsCheck
-
Set the list of ignore method names.
- setIgnoredMethodNames(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Set the list of ignore method names.
- setIgnoreEnhancedForColon(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.whitespace.WhitespaceAroundCheck
-
Sets whether or not to ignore the whitespace around the
colon in an enhanced for loop.
- setIgnoreEqualsIgnoreCase(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.EqualsAvoidNullCheck
-
Whether to ignore checking String.equalsIgnoreCase(String)
.
- setIgnoreFinal(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck
-
Sets ignore option for variables with 'final' modifier.
- setIgnoreFinal(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
Sets ignore option for variables with 'final' modifier.
- setIgnoreFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
Set the ignore format to the specified regular expression.
- setIgnoreHashCodeMethod(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck
-
Set whether to ignore hashCode methods.
- setIgnoreLines(int[]) - Method in class com.puppycrawl.tools.checkstyle.checks.header.HeaderCheck
-
Set the lines numbers to ignore in the header check.
- setIgnoreMethods(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck
-
Sets whether to ignore methods.
- setIgnoreModifier(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck
-
Whether to ignore checking for the abstract
modifier.
- setIgnoreModifiers(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.DeclarationOrderCheck
-
Sets whether to ignore modifiers.
- setIgnoreName(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractClassNameCheck
-
Whether to ignore checking the name.
- setIgnoreNamePattern(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
-
Sets the variable names to ignore in the check.
- setIgnoreNumbers(double[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MagicNumberCheck
-
Sets the numbers to ignore in the check.
- setIgnoreOccurrenceContext(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck
-
Adds a set of tokens the check is interested in.
- setIgnoreOverriddenMethods(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
Sets ignore option for methods with "@Override" annotation.
- setIgnorePattern(String) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck
-
Set the ignore pattern.
- setIgnoreSetter(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.HiddenFieldCheck
-
Set whether to ignore the parameter of a property setter method.
- setIgnoreStatic(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbbreviationAsWordInNameCheck
-
Sets ignore option for variables with 'static' modifier.
- setIgnoreStringsRegexp(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.MultipleStringLiteralsCheck
-
Sets regexp pattern for ignored strings.
- setIgnoreVariablePattern(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck
-
Sets RegExp pattern to ignore distance calculation for variables listed
in this pattern.
- setIllegalClassNames(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractIllegalCheck
-
Set the list of illegal classes.
- setIllegalClassNames(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Set the list of illegal variable types.
- setIllegalPattern(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Sets if pattern is illegal, otherwise pattern is required.
- setIllegalPkgs(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.IllegalImportCheck
-
Set the list of illegal packages.
- setInfluenceFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set the format for the influence of this check.
- setJavaFiveCompatibility(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.MissingOverrideCheck
-
Sets Java 5 compatibility mode.
- setJavaStyle(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.ArrayTypeStyleCheck
-
Controls whether to check for Java or C style.
- setKey(String) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- setLegalAbstractClassNames(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTypeCheck
-
Set the list of legal abstract class names.
- setLegalComment(String) - Method in class com.puppycrawl.tools.checkstyle.checks.TrailingCommentCheck
-
Sets patter for legal trailing comments.
- setLimitedTokens(String[]) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets the tokens which occurance as descendant is limited.
- setLinePositionMap(List<Integer>) - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable
-
- setLines(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Sets the CSV values and ranges for line number filtering.
- setLineSeparator(String) - Method in class com.puppycrawl.tools.checkstyle.checks.NewlineAtEndOfFileCheck
-
Sets the line separator to one of 'crlf', 'lf' or 'cr'.
- setLineWrappingIndentation(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Set the line-wrapping indentation level.
- setLocale(Locale) - Static method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessage
-
- setLocaleCountry(String) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
- setLocaleLanguage(String) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
- setLogLoadErrors(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Controls whether to log class loading errors to the checkstyle report
instead of throwing a RTE.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.AbstractNestedDepthCheck
-
Setter for maximum allowed nesting depth.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.ReturnCountCheck
-
Setter for max property.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.design.ThrowsCountCheck
-
Setter for max property.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractClassCouplingCheck
-
Sets maximul allowed complexity.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.AbstractComplexityCheck
-
Set the maximum threshold allowed.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.BooleanExpressionComplexityCheck
-
Setter for maximum allowed complexity.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.AnonInnerLengthCheck
-
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ExecutableStatementCountCheck
-
Sets the maximum threshold.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.FileLengthCheck
-
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.LineLengthCheck
-
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodLengthCheck
-
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.OuterTypeNumberCheck
-
Sets the maximum allowed number of outer types.
- setMax(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.ParameterNumberCheck
-
Sets the maximum number of allowed parameters.
- setMaxErrors(int) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Sets the maximum number of errors allowed.
- setMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck
-
Set the maximum number of matches required per file.
- setMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
-
Set the maximum number of matches required per file.
- setMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set the maximum number of matches required per file.
- setMaximumDepth(int) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets the maximum depth for descendant counts.
- setMaximumMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets the error message for maximum count exceeded.
- setMaximumNumber(int) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets a maximum count for descendants.
- setMaxLineLength(int) - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.LeftCurlyCheck
-
Sets the maximum line length used in calculating the placement of the
left curly brace.
- setMaxPackage(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
Sets the maximum allowed package
methods per type.
- setMaxPrivate(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
Sets the maximum allowed private
methods per type.
- setMaxProtected(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
Sets the maximum allowed protected
methods per type.
- setMaxPublic(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
Sets the maximum allowed public
methods per type.
- setMaxTotal(int) - Method in class com.puppycrawl.tools.checkstyle.checks.sizes.MethodCountCheck
-
Sets the maximum total methods per type.
- setMaxWarnings(int) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Sets the maximum number of warings allowed.
- setMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.IllegalTokenTextCheck
-
Setter for message property.
- setMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck
-
Set the message to report for a match.
- setMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
-
Set the message to report for a match.
- setMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set the message to report for a match.
- setMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.RegexpCheck
-
Setter for message property.
- setMessageDispatcher(MessageDispatcher) - Method in class com.puppycrawl.tools.checkstyle.api.AbstractFileSetCheck
-
Sets the MessageDispatcher that is used to dispatch error
messages to AuditListeners during processing.
- setMessageDispatcher(MessageDispatcher) - Method in interface com.puppycrawl.tools.checkstyle.api.FileSetCheck
-
Sets the MessageDispatcher that is used to dispatch error
messages to AuditListeners during processing.
- setMessageFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set the format for a message.
- setMessageFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Set the format for a message.
- setMessages(LocalizedMessages) - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Set the global object used to collect messages.
- setMethodMaximum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.metrics.JavaNCSSCheck
-
Sets the maximum ncss for a method.
- setMin(int) - Method in class com.puppycrawl.tools.checkstyle.checks.duplicates.StrictDuplicateCodeCheck
-
Sets the minimum number of lines that must be equivalent
before the check complains.
- setMinimum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpMultilineCheck
-
Set the minimum number of matches required per file.
- setMinimum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineCheck
-
Set the minimum number of matches required per file.
- setMinimum(int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.RegexpSinglelineJavaCheck
-
Set the minimum number of matches required per file.
- setMinimumDepth(int) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets the minimum depth for descendant counts.
- setMinimumMessage(String) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets the error message for minimum count not reached.
- setMinimumNumber(int) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets a minimum count for descendants.
- setModuleClassLoader(ClassLoader) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Sets the classloader used to load Checkstyle core and custom module
classes when the module tree is being built up.
- setModuleFactory(ModuleFactory) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Sets the factory for creating submodules.
- setModuleFactory(ModuleFactory) - Method in class com.puppycrawl.tools.checkstyle.TreeWalker
-
Sets the module factory for creating child modules (Checks).
- setModuleId(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Set the module id for filtering.
- setMultiLines(int[]) - Method in class com.puppycrawl.tools.checkstyle.checks.header.RegexpHeaderCheck
-
Set the lines numbers to repeat in the header check.
- setNextSibling(AST) - Method in class com.puppycrawl.tools.checkstyle.api.DetailAST
-
- setOffCommentFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set the format for a comment that turns off reporting.
- setOmitIgnoredModules(boolean) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
- setOnCommentFormat(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Set the format for a comment that turns on reporting.
- setOption(String) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractOptionCheck
-
Set the option to enforce.
- setOrdered(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
Sets whether or not imports should be ordered within any one group of
imports.
- setPackageAllowed(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
Set whether package visible members are allowed.
- setProcessJavadoc(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.UnusedImportsCheck
-
- setProperties(File) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask
-
Sets a properties file for use instead
of individually setting them.
- setProtectedAllowed(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
Set whether protected members are allowed.
- setPublicMemberPattern(String) - Method in class com.puppycrawl.tools.checkstyle.checks.design.VisibilityModifierCheck
-
Set the pattern for public members to ignore.
- setReliefPattern(String) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.FallThroughCheck
-
Set the relief pattern.
- setRowHeight(int) - Method in class com.puppycrawl.tools.checkstyle.gui.JTreeTable
-
Overridden to pass the new rowHeight to the tree.
- setScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocMethodCheck
-
Set the scope.
- setScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocStyleCheck
-
Sets the scope to check.
- setScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Sets the scope to check.
- setScope(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocVariableCheck
-
Sets the scope to check.
- setSeparated(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportOrderCheck
-
Sets whether or not groups of imports must be separated from one another
by at least one blank line.
- setSeparateLineBetweenGroups(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets mSeparateLineBetweenGroups specified by user.
- setSeverity(String) - Method in class com.puppycrawl.tools.checkstyle.api.AbstractViolationReporter
-
Sets the severity level.
- setSeverity(String) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
Sets the severity level.
- setSeverity(String) - Method in class com.puppycrawl.tools.checkstyle.filters.SeverityMatchFilter
-
Sets the severity level.
- setShouldStartLine(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.blocks.RightCurlyCheck
-
Does the check need to check if rcurly starts line.
- setSortImportsInGroupAlphabetically(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets mSortImportsInGroupAlphabetically specified by user.
- setSpecialImportsRegExp(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets mSpecialImportsRegExp specified by user.
- setStandardPackageRegExp(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets mStandardRegExp specified by user.
- setSumTokenCounts(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.DescendantTokenCheck
-
Sets whether to use the sum of the tokens found, rather than the
individual counts.
- setSuppressLoadErrors(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.AbstractTypeAwareCheck
-
Controls whether to show class loading errors in the checkstyle report.
- setTabWidth(int) - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Set the tab width to report errors with.
- setTabWidth(int) - Method in class com.puppycrawl.tools.checkstyle.TreeWalker
-
- setTag(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck
-
Sets the tag to check.
- setTagFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck
-
Set the tag format.
- setTagSeverity(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.WriteTagCheck
-
Sets the tag severity level.
- setThirdPartyPackageRegExp(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.CustomImportOrderCheck
-
Sets mThirdPartyRegExp specified by user.
- setThrowsIndent(int) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndentationCheck
-
Set the throws indentation level.
- setTofile(File) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
-
Set the file to output to.
- setTokens(String[]) - Method in class com.puppycrawl.tools.checkstyle.api.Check
-
Adds a set of tokens the check is interested in.
- setTrailingArrayComma(String) - Method in class com.puppycrawl.tools.checkstyle.checks.annotation.AnnotationUseStyleCheck
-
Sets the TrailingArrayComma from a string.
- setTreatAssertAsKeyword(boolean) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- setTreatEnumAsKeyword(boolean) - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaLexer
-
- setType(CheckStyleTask.FormatterType) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
-
Set the type of the formatter.
- setupChild(Configuration) - Method in class com.puppycrawl.tools.checkstyle.api.AutomaticBean
-
Called by configure() for every child of this component's Configuration.
- setupChild(Configuration) - Method in class com.puppycrawl.tools.checkstyle.Checker
-
- setupChild(Configuration) - Method in class com.puppycrawl.tools.checkstyle.TreeWalker
-
- setUrl(String) - Method in class com.puppycrawl.tools.checkstyle.checks.imports.ImportControlCheck
-
Set the parameter for the url containing the import control
configuration.
- setUseFile(boolean) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Formatter
-
Sets whether or not we write to a file if it is provided.
- setValidateBetweenScopes(boolean) - Method in class com.puppycrawl.tools.checkstyle.checks.coding.VariableDeclarationUsageDistanceCheck
-
Sets option which allows to calculate distance between declaration of
variable and its first usage in different scopes.
- setValue(String) - Method in class com.puppycrawl.tools.checkstyle.CheckStyleTask.Property
-
- setValueAt(Object, Object, int) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractTreeTableModel
-
- setValueAt(Object, Object, int) - Method in class com.puppycrawl.tools.checkstyle.gui.ParseTreeModel
-
- setValueAt(Object, Object, int) - Method in interface com.puppycrawl.tools.checkstyle.gui.TreeTableModel
-
Sets the value for node node
,
at column number column
.
- setValueAt(Object, int, int) - Method in class com.puppycrawl.tools.checkstyle.gui.TreeTableModelAdapter
- setVersionFormat(String) - Method in class com.puppycrawl.tools.checkstyle.checks.javadoc.JavadocTypeCheck
-
Set the version format pattern.
- SeverityLevel - Enum in com.puppycrawl.tools.checkstyle.api
-
Severity level for a check violation.
- SeverityLevelCounter - Class in com.puppycrawl.tools.checkstyle.api
-
An audit listener that counts how many
AuditEvents
of a given severity have been generated.
- SeverityLevelCounter(SeverityLevel) - Constructor for class com.puppycrawl.tools.checkstyle.api.SeverityLevelCounter
-
Creates a new counter.
- SeverityMatchFilter - Class in com.puppycrawl.tools.checkstyle.filters
-
This is a very simple filter based on severity matching.
- SeverityMatchFilter() - Constructor for class com.puppycrawl.tools.checkstyle.filters.SeverityMatchFilter
-
- shiftExpression() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- shouldCheckInScope(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.naming.AbstractAccessControlNameCheck
-
Should we check member with given modifiers.
- shouldIncreaseIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
- shouldIncreaseIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodCallHandler
-
- shouldIncreaseIndent() - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.NewHandler
-
- shouldSelectCell(EventObject) - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- shouldSuppress(int, int, int, int) - Method in class com.puppycrawl.tools.checkstyle.checks.regexp.NeverSuppress
-
Checks if the specified selection should be suppressed.
- SIGNED_INTEGER - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SimplifyBooleanExpressionCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for overly complicated boolean expressions.
- SimplifyBooleanExpressionCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanExpressionCheck
-
- SimplifyBooleanReturnCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks for overly complicated boolean return statements.
- SimplifyBooleanReturnCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.SimplifyBooleanReturnCheck
-
- size() - Method in class com.puppycrawl.tools.checkstyle.api.FastStack
-
Returns the number of entries in the stack.
- size() - Method in class com.puppycrawl.tools.checkstyle.api.FileText
-
Counts the lines of the text.
- size() - Method in class com.puppycrawl.tools.checkstyle.api.LocalizedMessages
-
- SL - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The <<
(shift left) operator.
- SL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SL_ASSIGN - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The <<=
(left shift assignment) operator.
- SL_ASSIGN - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SL_COMMENT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SLIST - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A list of statements.
- SLIST - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SlistHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for a list of statements.
- SlistHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- SR - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The >>
(signed shift right) operator.
- SR - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- SR_ASSIGN - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The >>=
(signed right shift assignment)
operator.
- SR_ASSIGN - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- STAR - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The *
(multiplication or wildcard) operator.
- STAR - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- STAR_ASSIGN - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The *=
(multiplication assignment) operator.
- STAR_ASSIGN - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- start(RootDoc) - Static method in class com.puppycrawl.tools.checkstyle.doclets.CheckDocsDoclet
-
Doclet entry point.
- start(RootDoc) - Static method in class com.puppycrawl.tools.checkstyle.doclets.TokenTypesDoclet
-
The doclet's starter method.
- startElement(String, String, String, Attributes) - Method in class com.puppycrawl.tools.checkstyle.filters.SuppressionsLoader
-
- startElement(String, String, String, Attributes) - Method in class com.puppycrawl.tools.checkstyle.PackageNamesLoader
-
- startsLine(DetailAST) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Determines if the given expression is at the start of a line.
- statement() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- STATIC_IMPORT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A static import declaration.
- STATIC_IMPORT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- STATIC_INIT - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A static initialization block.
- STATIC_INIT - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- StaticInitHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for static initialization blocks.
- StaticInitHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.StaticInitHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.
- StaticVariableNameCheck - Class in com.puppycrawl.tools.checkstyle.checks.naming
-
Checks that static, non-final variable names conform to a format specified
by the format property.
- StaticVariableNameCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.naming.StaticVariableNameCheck
-
Creates a new StaticVariableNameCheck
instance.
- STD_ESC - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- stopCellEditing() - Method in class com.puppycrawl.tools.checkstyle.gui.AbstractCellEditor
-
- StrictDuplicateCodeCheck - Class in com.puppycrawl.tools.checkstyle.checks.duplicates
-
Performs a line-by-line comparison of all code lines and reports
duplicate code if a sequence of lines differs only in
indentation.
- StrictDuplicateCodeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.duplicates.StrictDuplicateCodeCheck
-
Creates a new instance of this class.
- STRICTFP - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
The strictfp
keyword.
- STRICTFP - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- STRING_LITERAL - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A string literal.
- STRING_LITERAL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- StringLiteralEqualityCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks that string literals are not used with
==
or !=
.
- StringLiteralEqualityCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.StringLiteralEqualityCheck
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.BlockParentHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.CaseHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ExpressionHandler
-
Indentation level suggested for a child element.
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.ForHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IfHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.IndexHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MemberDefHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.MethodCallHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.PrimordialHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.SlistHandler
-
- suggestedChildLevel(ExpressionHandler) - Method in class com.puppycrawl.tools.checkstyle.checks.indentation.TryHandler
-
- SUPER_CTOR_CALL - Static variable in class com.puppycrawl.tools.checkstyle.api.TokenTypes
-
A super constructor call.
- SUPER_CTOR_CALL - Static variable in interface com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaTokenTypes
-
- superClassClause() - Method in class com.puppycrawl.tools.checkstyle.grammars.GeneratedJavaRecognizer
-
- SuperCloneCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks that an overriding clone() method invokes super.clone().
- SuperCloneCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.SuperCloneCheck
-
- SuperFinalizeCheck - Class in com.puppycrawl.tools.checkstyle.checks.coding
-
Checks that an overriding finalize() method invokes super.finalize().
- SuperFinalizeCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.coding.SuperFinalizeCheck
-
- SuppressElement - Class in com.puppycrawl.tools.checkstyle.filters
-
This filter processes
AuditEvent
objects based on the criteria of file, check, module id, line, and
column.
- SuppressElement(String) - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressElement
-
Constructs a SuppressElement
for a
file name pattern.
- SuppressionCommentFilter - Class in com.puppycrawl.tools.checkstyle.filters
-
A filter that uses comments to suppress audit events.
- SuppressionCommentFilter() - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter
-
Constructs a SuppressionCommentFilter.
- SuppressionCommentFilter.Tag - Class in com.puppycrawl.tools.checkstyle.filters
-
A Tag holds a suppression comment and its location, and determines
whether the supression turns checkstyle reporting on or off.
- SuppressionCommentFilter.Tag(int, int, String, boolean) - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressionCommentFilter.Tag
-
Constructs a tag.
- SuppressionFilter - Class in com.puppycrawl.tools.checkstyle.filters
-
This filter accepts AuditEvents according to file, check, line, and
column, as specified in a suppression file.
- SuppressionFilter() - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressionFilter
-
- SuppressionsLoader - Class in com.puppycrawl.tools.checkstyle.filters
-
Loads a filter chain of suppressions.
- SuppressWarningsCheck - Class in com.puppycrawl.tools.checkstyle.checks.annotation
-
This check allows you to specify what warnings that
SuppressWarnings
is not
allowed to suppress.
- SuppressWarningsCheck() - Constructor for class com.puppycrawl.tools.checkstyle.checks.annotation.SuppressWarningsCheck
-
Ctor that specifies the default for the format property
as specified in the class javadocs.
- SuppressWarningsFilter - Class in com.puppycrawl.tools.checkstyle.filters
-
- SuppressWarningsFilter() - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressWarningsFilter
-
- SuppressWarningsHolder - Class in com.puppycrawl.tools.checkstyle.checks
-
- SuppressWarningsHolder() - Constructor for class com.puppycrawl.tools.checkstyle.checks.SuppressWarningsHolder
-
- SuppressWithNearbyCommentFilter - Class in com.puppycrawl.tools.checkstyle.filters
-
A filter that uses nearby comments to suppress audit events.
- SuppressWithNearbyCommentFilter() - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter
-
Constructs a SuppressionCommentFilter.
- SuppressWithNearbyCommentFilter.Tag - Class in com.puppycrawl.tools.checkstyle.filters
-
A Tag holds a suppression comment and its location.
- SuppressWithNearbyCommentFilter.Tag(String, int) - Constructor for class com.puppycrawl.tools.checkstyle.filters.SuppressWithNearbyCommentFilter.Tag
-
Constructs a tag.
- SwitchHandler - Class in com.puppycrawl.tools.checkstyle.checks.indentation
-
Handler for switch statements.
- SwitchHandler(IndentationCheck, DetailAST, ExpressionHandler) - Constructor for class com.puppycrawl.tools.checkstyle.checks.indentation.SwitchHandler
-
Construct an instance of this handler with the given indentation check,
abstract syntax tree, and parent handler.