Uses of Class com.puppycrawl.tools.checkstyle.api.AutomaticBean

Uses in package com.puppycrawl.tools.checkstyle.checks.design

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks that classes are designed for inheritance.
class
Checks that class which has only private ctors is declared as final.
class
Make sure that utility classes (classes that contain only static methods) do not have a public constructor.
class
Implements Bloch, Effective Java, Item 17 - Use Interfaces only to define types.
class
Ensures that exceptions (defined as any class name conforming to some regular expression) are immutable.
class
Restricts throws statements to a specified count (default = 1).
class
Checks visibility of class members.

Uses in package com.puppycrawl.tools.checkstyle.checks.j2ee

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Abstract class for checks that verify Bean implementation.
class
Abstract class for checking interface requirements.
class
Abstract class for J2ee component checking.
class
Checks that an EntityBean implementation satisfies EntityBean requirements.
class
Checks that all static fields are declared final.
class
Checks the local home interface requirements:
  • every method must not throw the java.rmi.RemoteException
Reference: Enterprise JavaBeansTM Specification,Version 2.0, section 9.6.2.
class
Checks the methods of a local interface.
class
Checks that a MessageBean implementation satisfies MessageBean requirements.
class
Checks the methods of a remote home interface.
class
Checks the methods of a remote interface.
class
Checks that a SessionBean implementation satisfies SessionBean requirements.
class
Checks that 'this' is not a parameter of any method calls or constructors for a bean.
class
Checks that 'this' is not returned by a bean method.

Uses in package com.puppycrawl.tools.checkstyle.checks.sizes

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks for long anonymous inner classes.
class
Restricts the number of executable statements to a specified limit (default = 30).
class
Checks for long source files.
class
Checks for long lines.
class
Checks for long methods.
class
Checks the number of parameters that a method or constructor has.

Uses in package com.puppycrawl.tools.checkstyle.checks.blocks

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Finds nested blocks.
class
Checks for empty blocks.
class
Checks the placement of left curly braces on types, methods and other blocks: LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE.
class
Checks for braces around code blocks.
class
Checks the placement of right curly braces.

Uses in package com.puppycrawl.tools.checkstyle.checks.imports

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Check that finds import statements that use the * notation.
class
Checks for imports from a set of illegal packages.
class
Check that controls what packages can be imported in each package.
class
Class to check the ordering/grouping of imports.
class
Checks for imports that are redundant.
class
Checks for unused import statements.

Uses in package com.puppycrawl.tools.checkstyle.checks.modifier

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks that the order of modifiers conforms to the suggestions in the Java Language specification, sections 8.1.1, 8.3.1 and 8.4.3.
class
Checks for redundant modifiers in interface and annotation definitions.

Uses in package com.puppycrawl.tools.checkstyle.filters

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
This is a very simple filter based on severity matching.
class
A filter that uses comments to suppress audit events.
class
This filter accepts AuditEvents according to file, check, line, and column, as specified in a suppression file.

Uses in package com.puppycrawl.tools.checkstyle.api

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Provides common functionality for many FileSetChecks.
class
Serves as an abstract base class for all modules that report inspection findings.
class
The base class for checks.

Uses in package com.puppycrawl.tools.checkstyle.checks.duplicates

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Performs a line-by-line comparison of all code lines and reports duplicate code if a sequence of lines differs only in indentation.

Uses in package com.puppycrawl.tools.checkstyle.checks.javadoc

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks the Javadoc of a method or constructor.
class
Custom Checkstyle Check to validate Javadoc.
class
Checks the Javadoc of a type.
class
Checks that a variable has Javadoc comment.
class
Checks that all packages have a package documentation.
class
Outputs a JavaDoc tag as information.

Uses in package com.puppycrawl.tools.checkstyle.checks.whitespace

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks the padding of an empty for initializer; that is whether a space is required at an empty for initializer, or such spaces are forbidden.
class
Checks the padding of an empty for iterator; that is whether a space is required at an empty for iterator, or such spaces are forbidden.
class
Checks the padding between the identifier of a method definition, constructor definition, method call, or constructor invocation; and the left parenthesis of the parameter list.
class
Checks that there is no whitespace after a token.
class
Checks that there is no whitespace before a token.
class
Checks line wrapping for operators.
class
Checks the padding of parentheses; that is whether a space is required after a left parenthesis and before a right parenthesis, or such spaces are forbidden, with the exception that it does not check for padding of the right parenthesis at an empty for iterator.
class
Reports tab characters ('\t') in the source code.
class
Checks the padding of parentheses for typecasts.
class
Checks that a token is followed by whitespace, with the exception that it does not check for whitespace after the semicolon of an empty for iterator.
class
Checks that a token is surrounded by whitespace.

Uses in package com.puppycrawl.tools.checkstyle.checks.coding

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Support for checks that look for usage of illegal types.
class
Abstract class which provides helpers functionality for nestedchecks.
class
Abstract class for checking that an overriding method with no parameters invokes the super method.
class
Checks if array initialization contains optional trailing comma.
class
Detects inline conditionals.
class
Checks that if a class defines a covariant method equals, then it defines method equals(java.lang.Object).
class
Checks that the parts of a class or interface declaration appear in the order suggested by the Code Conventions for the Java Programming Language.
class
Check that the default is after all the cases in a switch statement.
class
Detect the double-checked locking idiom, a technique that tries to avoid synchronization overhead but is incorrect because of subtle artifacts of the java memory model.
class
Detects empty statements (standalone ';').
class
Checks that classes that override equals() also override hashCode().
class
Checks if any class or object member explicitly initialized to default for its type value (null for object references, zero for numeric types and char and false for boolean.
class
Checks for fall through in switch statements Finds locations where a case contains Java code - but lacks a break, return, throw or continue statement.
class
Ensures that local variables that never get their values changed, must be declared final.
class
Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
class
Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException is almost never acceptable.
class
Checks for illegal instantiations where a factory method is preferred.
class
Throwing java.lang.Error or java.lang.RuntimeException is almost never acceptable.
class
Checks for illegal tokens.
class
Checks for illegal token text.
class
Checks that particular class are never used as types in variable declarations, return values or parameters.
class
Checks for assignments in subexpressions, such as in String s = Integer.toString(i = 2);.
class
Ensures that the setUp(), tearDown()methods are named correctly, have no arguments, return void and are either public or protected.
class
Checks for magic numbers.
class
Checks that classes (except abstract one) define a ctor and don't rely on the default one.
class
Checks that switch statement has "default" clause.
class
Check for ensuring that for loop control variables are not modified inside the for block.
class
Checks for multiple occurrences of the same string literal within a single file.
class
Checks that each variable declaration is in its own statement and on its own line.
class
Restricts nested if-else blocks to a specified depth (default = 1).
class
Restricts nested try-catch-finally blocks to a specified depth (default = 1).
class
Ensures there is a package declaration.
class
Disallow assignment of parameters.
class
Checks for redundant exceptions declared in throws clause such as duplicates, unchecked exceptions or subclasses of another declared exception.
class
Checks that code doesn't rely on the "this" default.
class
Restricts return statements to a specified count (default = 2).
class
Checks for overly complicated boolean expressions.
class
Checks for overly complicated boolean return statements.
class
Checks that string literals are not used with == or !=.
class
Checks that an overriding clone() method invokes super.clone().
class
Checks that an overriding finalize() method invokes super.finalize().
class
Checks if unnecessary parentheses are used in a statement or expression.

Uses in package com.puppycrawl.tools.checkstyle

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
This class provides the functionality to check a set of files.
class
Simple plain logger for text output.
class
Responsible for walking an abstract syntax tree and notifying interested checks at each each node.
class
Simple XML logger.

Uses in package com.puppycrawl.tools.checkstyle.checks.indentation

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Checks correct indentation of Java Code.

Uses in package com.puppycrawl.tools.checkstyle.checks.naming

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Ensures that the names of abstract classes conforming to some regular expression.
class
Abstract class for checking that names conform to a specified format.
class
Checks that constant names conform to a format specified by the format property.
class
Checks that local final variable names conform to a format specified by the format property.
class
Checks that local, non-final variable names conform to a format specified by the format property.
class
Checks that instance variable names conform to a format specified by the format property.
class
Checks that method names conform to a format specified by the format property.
class
Checks that package names conform to a format specified by the format property.
class
Checks that parameter names conform to a format specified by the format property.
class
Checks that static, non-final variable names conform to a format specified by the format property.
class
Checks that type names conform to a format specified by the format property.

Uses in package com.puppycrawl.tools.checkstyle.checks

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Abstract class for checks that verify strings using a regular expression.
class
Abstract class for checks with options.
class
Abstract class that endeavours to maintain type information for the Java file being checked.
class
Checks the style of array type definitions.
class
Abstract class for chekcs which need to collect information about declared members/parameters/variables.
class
Checks for restricted tokens beneath other tokens.
class
Holds the current file contents for global access when configured as a TreeWalker sub-module.
class
Check that method/constructor/catch/foreach parameters are final.
class
A generic check for code problems, the user can search for any pattern.
class
Checks that there is a newline at the end of each file.
class
A check that makes sure that a specified pattern exists (or not) in the file.
class
A check that makes sure that a specified pattern exists in the code.
class
A check for TODO comments.
class
The check to ensure that requires that comments be the only thing on a line.
class
The TranslationCheck class helps to ensure the correct translation of code by checking property files for consistency regarding their keys.
class
Detects uncommented main methods.
class
Checks that long constants are defined with an upper ell.

Uses in package com.puppycrawl.tools.checkstyle.checks.header

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Abstract super class for header checks.
class
A FileSetCheck similar to RegexpHeaderCheck, but works for all text files, not just java code.
class
Checks the header of the source against a fixed header file.
class
Checks the header of the source against a header file that contains a regular expression for each line of the source header.

Uses in package com.puppycrawl.tools.checkstyle.checks.metrics

Classes derived from com.puppycrawl.tools.checkstyle.api.AutomaticBean

class
Base class for coupling calculation.
class
Base class for checks the calculate complexity based around methods.
class
Restricts nested boolean operators (&&, ||, &, | and ^) to a specified depth (default = 3).
class
This metric measures the number of instantiations of other classes within the given class.
class
The number of other classes a given class relies on.
class
Checks cyclomatic complexity against a specified limit.
class
This check calculates the Non Commenting Source Statements (NCSS) metric for java source files and methods.
class
Checks the npath complexity against a specified limit (default = 200).