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

Packages that use AbstractViolationReporter
com.puppycrawl.tools.checkstyle Contains the implementation of the Checkstyle framework. 
com.puppycrawl.tools.checkstyle.api Contains the core API to be used to implement checks. 
com.puppycrawl.tools.checkstyle.checks Contains the checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.blocks Contains the Block checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.coding Contains the Coding checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.design Contains the Class Design checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.duplicates Duplicate code detection
com.puppycrawl.tools.checkstyle.checks.imports Contains the Imports checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.indentation Contains all classes required for the indentation check. 
com.puppycrawl.tools.checkstyle.checks.j2ee Contains J2EE checks. 
com.puppycrawl.tools.checkstyle.checks.javadoc Contains the Javadoc checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.metrics Contains the Metrics checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.naming Contains the Naming conventions checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.sizes Contains the Size Violations checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.usage Contains the Usage checks that are bundled with the main distribution. 
com.puppycrawl.tools.checkstyle.checks.whitespace Contains the Whitespace checks that are bundled with the main distribution. 
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle
 class TreeWalker
          Responsible for walking an abstract syntax tree and notifying interested checks at each each node.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.api
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.api
 class AbstractFileSetCheck
          Provides common functionality for many FileSetChecks.
 class Check
          The base class for checks.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks
 class AbstractFormatCheck
           Abstract class for checks that verify strings using a regular expression.
 class AbstractHeaderCheck
          Abstract super class for header checks.
 class AbstractOptionCheck
          Abstract class for checks with options.
 class AbstractTypeAwareCheck
          Abstract class that endeavours to maintain type information for the Java file being checked.
 class ArrayTypeStyleCheck
          Checks the style of array type definitions.
 class DescendantTokenCheck
           Checks for restricted tokens beneath other tokens.
 class FileContentsHolder
          Holds the current file contents for global access when configured as a TreeWalker sub-module.
 class FinalParametersCheck
          Check that method/constructor/catch parameters are final.
 class GenericIllegalRegexpCheck
           A generic check for code problems, the user can search for any pattern.
 class HeaderCheck
           Checks the header of the source against a fixed header file.
 class ModifierOrderCheck
           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 NewlineAtEndOfFileCheck
           Checks that there is a newline at the end of each file.
 class RedundantModifierCheck
          Checks for redundant modifiers in interface definitions.
 class RegexpHeaderCheck
           Checks the header of the source against a header file that contains a regular expression for each line of the source header.
 class RequiredRegexpCheck
           A check that makes sure that a specified pattern exists in the code.
 class TodoCommentCheck
           A check for TODO comments.
 class TrailingCommentCheck
           The check to ensure that requires that comments be the only thing on a line.
 class TranslationCheck
           The TranslationCheck class helps to ensure the correct translation of code by checking property files for consistency regarding their keys.
 class UncommentedMainCheck
          Detects uncommented main methods.
 class UpperEllCheck
           Checks that long constants are defined with an uppper ell.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.blocks
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.blocks
 class AvoidNestedBlocksCheck
          Finds nested blocks.
 class EmptyBlockCheck
          Checks for empty blocks.
 class LeftCurlyCheck
           Checks the placement of left curly braces on types, methods and other the other blocks: LITERAL_CATCH, LITERAL_DO, LITERAL_ELSE, LITERAL_FINALLY, LITERAL_FOR, LITERAL_IF, LITERAL_SWITCH, LITERAL_SYNCHRONIZED, LITERAL_TRY, LITERAL_WHILE.
 class NeedBracesCheck
           Checks for braces around code blocks.
 class RightCurlyCheck
           Checks the placement of right curly braces.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.coding
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.coding
 class AbstractNestedDepthCheck
          Abstract class which provides helpers functionality for nestedchecks.
 class AbstractSuperCheck
           Abstract class for checking that an overriding method with no parameters invokes the super method.
 class ArrayTrailingCommaCheck
           Checks if array initialization contains optional trailing comma.
 class AvoidInlineConditionalsCheck
          Detects inline conditionals.
 class CovariantEqualsCheck
          Checks that if a class defines a covariant method equals, then it defines method equals(java.lang.Object).
 class DeclarationOrderCheck
           According to Code Conventions for the Java Programming Language , the parts of a class or interface declaration should appear in the following order Class (static) variables.
 class DefaultComesLastCheck
           Check that the default is after all the cases in a switch statement.
 class DoubleCheckedLockingCheck
          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 EmptyStatementCheck
           Check that finds empty statements.
 class EqualsHashCodeCheck
           Checks that classes that override equals() also override hashCode().
 class ExplicitInitializationCheck
           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 FallThroughCheck
          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 FinalLocalVariableCheck
           Ensures that local variables that never get their values changed, must be declared final.
 class HiddenFieldCheck
          Checks that a local variable or a parameter does not shadow a field that is defined in the same class.
 class IllegalCatchCheck
          Catching java.lang.Exception, java.lang.Error or java.lang.RuntimeException is almost never acceptable.
 class IllegalInstantiationCheck
           Checks for illegal instantiations where a factory method is preferred.
 class IllegalTokenCheck
           Checks for illegal tokens.
 class IllegalTokenTextCheck
           Checks for illegal token text.
 class IllegalTypeCheck
           Checks that particular class are never used as types in variable declarations, return values or parameters.
 class InnerAssignmentCheck
           Checks for assignments in subexpressions, such as in String s = Integer.toString(i = 2);.
 class JUnitTestCaseCheck
          Ensures that the setUp(), tearDown()methods are named correctly, have no arguments, return void and are either public or protected.
 class MagicNumberCheck
           Checks for magic numbers.
 class MissingCtorCheck
           Checks that classes (except abstract one) define a ctor and don't rely on the default one.
 class MissingSwitchDefaultCheck
           Checks that switch statement has "default" clause.
 class ModifiedControlVariableCheck
          Check for ensuring that for loop control variables are not modified inside the for block.
 class MultipleStringLiteralsCheck
          Checks for multiple occurrences of the same string literal within a single file.
 class MultipleVariableDeclarationsCheck
           Checks that each variable declaration is in its own statement and on its own line.
 class NestedIfDepthCheck
          Restricts nested if-else blocks to a specified depth (default = 1).
 class NestedTryDepthCheck
          Restricts nested try-catch-finally blocks to a specified depth (default = 1).
 class PackageDeclarationCheck
          Ensures there is a package declaration.
 class ParameterAssignmentCheck
           Disallow assignment of parameters.
 class RedundantThrowsCheck
          Checks for redundant exceptions declared in throws clause such as duplicates, unchecked exceptions or subclasses of another declared exception.
 class RequireThisCheck
          Checks that code doesn't rely on the "this." default, i.e.
 class ReturnCountCheck
           Restricts return statements to a specified count (default = 2).
 class SimplifyBooleanExpressionCheck
           Checks for overly complicated boolean expressions.
 class SimplifyBooleanReturnCheck
           Checks for overly complicated boolean return statements.
 class StringLiteralEqualityCheck
          Checks that string literals are not used with == or !=.
 class SuperCloneCheck
           Checks that an overriding clone() method invokes super.clone().
 class SuperFinalizeCheck
           Checks that an overriding finalize() method invokes super.finalize().
 class UnnecessaryParenthesesCheck
          Checks if unnecessary parentheses are used in a statement or expression.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.design
 

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

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.duplicates
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.duplicates
 class StrictDuplicateCodeCheck
          Checks for duplicate code.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.imports
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.imports
 class AvoidStarImportCheck
           Check that finds import statements that use the * notation.
 class IllegalImportCheck
           Checks for imports from a set of illegal packages.
 class ImportOrderCheck
          Class to check the ordering/grouping of imports.
 class RedundantImportCheck
           Checks for imports that are redundant.
 class UnusedImportsCheck
           Checks for unused import statements.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.indentation
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.indentation
 class IndentationCheck
          Checks correct indentation of Java Code.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.j2ee
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.j2ee
 class AbstractBeanCheck
          Abstract class for checks that verify Bean implementation.
 class AbstractInterfaceCheck
          Abstract class for checking interface requirements.
 class AbstractJ2eeCheck
          Abstract class for J2ee component checking.
 class EntityBeanCheck
          Checks that an EntityBean implementation satisfies EntityBean requirements.
 class FinalStaticCheck
          Checks that all static fields are declared final.
 class LocalHomeInterfaceCheck
          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 LocalInterfaceCheck
          Checks the methods of a local interface.
 class MessageBeanCheck
          Checks that a MessageBean implementation satisfies MessageBean requirements.
 class RemoteHomeInterfaceCheck
          Checks the methods of a remote home interface.
 class RemoteInterfaceCheck
          Checks the methods of a remote interface.
 class SessionBeanCheck
          Checks that a SessionBean implementation satisfies SessionBean requirements.
 class ThisParameterCheck
          Checks that 'this' is not a parameter of any method calls or constructors for a bean.
 class ThisReturnCheck
          Checks that 'this' is not returned by a bean method.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.javadoc
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.javadoc
 class JavadocMethodCheck
           Checks the Javadoc of a method or constructor.
 class JavadocStyleCheck
          Custom Checkstyle Check to validate Javadoc.
 class JavadocTypeCheck
           Checks the Javadoc of a type.
 class JavadocVariableCheck
           Checks that a variable has Javadoc comment.
 class PackageHtmlCheck
           Checks that all packages have a package documentation.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.metrics
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.metrics
 class AbstractClassCouplingCheck
          Base class for coupling calculation.
 class AbstractComplexityCheck
          Base class for checks the calculate complexity based around methods.
 class BooleanExpressionComplexityCheck
          Restricts nested boolean operators (&&, || and ^) to a specified depth (default = 3).
 class ClassDataAbstractionCouplingCheck
          This metric measures the number of instantiations of other classes within the given class.
 class ClassFanOutComplexityCheck
          The # of other classes a given class relies on.
 class CyclomaticComplexityCheck
          Checks cyclomatic complexity against a specified limit.
 class JavaNCSSCheck
          This check calculates the Non Commenting Source Statements (NCSS) metric for java source files and methods.
 class NPathComplexityCheck
          Checks the npath complexity against a specified limt (default = 200).
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.naming
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.naming
 class AbstractClassNameCheck
           Ensures that the names of abstract classes conforming to some regular expression.
 class AbstractNameCheck
          Abstract class for checking that names conform to a specified format.
 class ConstantNameCheck
           Checks that constant names conform to a format specified by the format property.
 class LocalFinalVariableNameCheck
           Checks that local final variable names conform to a format specified by the format property.
 class LocalVariableNameCheck
           Checks that local, non-final variable names conform to a format specified by the format property.
 class MemberNameCheck
           Checks that instance variable names conform to a format specified by the format property.
 class MethodNameCheck
           Checks that method names conform to a format specified by the format property.
 class PackageNameCheck
           Checks that package names conform to a format specified by the format property.
 class ParameterNameCheck
           Checks that parameter names conform to a format specified by the format property.
 class StaticVariableNameCheck
           Checks that static, non-final variable names conform to a format specified by the format property.
 class TypeNameCheck
           Checks that type names conform to a format specified by the format property.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.sizes
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.sizes
 class AnonInnerLengthCheck
           Checks for long anonymous inner classes.
 class ExecutableStatementCountCheck
          Restricts the number of executable statements to a specified limit (default = 30).
 class FileLengthCheck
           Checks for long source files.
 class LineLengthCheck
          Checks for long lines.
 class MethodLengthCheck
           Checks for long methods.
 class ParameterNumberCheck
           Checks the number of parameters that a method or constructor has.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.usage
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.usage
 class AbstractUsageCheck
          Performs a usage check for fields, methods, parameters, variables.
 class OneMethodPrivateFieldCheck
          Checks that a private field is used in more than one method, constructor, or initializer.
 class UnusedLocalVariableCheck
          Checks that a local variable is read.
 class UnusedParameterCheck
          Checks that a parameter is used.
 class UnusedPrivateFieldCheck
          Checks that a private field is used.
 class UnusedPrivateMethodCheck
          Checks that a private method is used.
 

Uses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.whitespace
 

Subclasses of AbstractViolationReporter in com.puppycrawl.tools.checkstyle.checks.whitespace
(package private)  class com.puppycrawl.tools.checkstyle.checks.whitespace.AbstractParenPadCheck
          Abstract class for checking the padding of parentheses.
 class EmptyForInitializerPadCheck
          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 EmptyForIteratorPadCheck
          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 MethodParamPadCheck
           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 NoWhitespaceAfterCheck
           Checks that there is no whitespace after a token.
 class NoWhitespaceBeforeCheck
           Checks that there is no whitespace before a token.
 class OperatorWrapCheck
           Checks line wrapping for operators.
 class ParenPadCheck
          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 TabCharacterCheck
           Reports tab characters ('\t') in the source code.
 class TypecastParenPadCheck
          Checks the padding of parentheses for typecasts.
 class WhitespaceAfterCheck
           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 WhitespaceAroundCheck
           Checks that a token is surrounded by whitespace.
 


Back to the Checkstyle Home Page