Package com.qulice.checkstyle
package com.qulice.checkstyle
Checkstyle checks.
- Since:
- 0.3
-
ClassesClassDescriptionChecks node/closing brackets to be the last symbols on the line.Make sure each line indentation is either: the same as previous one or less bigger than previous by exactly 4 Also, if the previous non-empty line consists only of closing brackets (and optional trailing semicolon or comma), the current line indentation must not be greater than that of the closing bracket line, since the expression has been already terminated.Validator with Checkstyle.Performs multiline regexp match only if a regexp condition passes.Checks that constant, declared as private field of class is used more than once.Checks that constructors do not contain any method calls.Checks the order of constructor declarations.Checks node/closing curly brackets to be the last symbols on the line.Checks if possible to use Diamond operator in generic instances creation.Checks that a class, interface, enum or annotation declaration is followed by an empty line before its first member.Check for empty lines inside methods and constructors.Checks that enum constant names conform to the same naming convention as
static finalfields (i.e., the default CheckstyleConstantNamepattern^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$).Detects unnecessary semicolons placed after the closing brace of a class, interface, record, method or constructor declaration.Checks that try-with-resources does not end with a semicolon.Forbids anelsebranch when thethenbranch of anifstatement ends with athrow.Check if import lines are all together without any empty lines or comments.Check for the empty Javadoc line before the group of at-clauses.Check for empty lines inside Javadoc.Check for text on the first line of a multi-line Javadoc.Checks that there is no empty line between a javadoc and it's subject, and that no annotation is placed above the javadoc.Checks method parameters order to comply with what is defined in method javadoc.Check that the class/interface javadoc does not contain prohibitedauthororversiontags and has a properly formattedsincetag.Prohibit a trailing dot in the description of@paramand@returnJavadoc tags.Checks that every@throws(or@exception) tag in the javadoc of a method or constructor refers to an exception actually declared in thethrowsclause of that method/constructor.Represent a line range.Represents a set of LineRange objects.Checks method bodies for comments.Checks that method and constructor declarations do not span multiple lines when the entire signature can fit on one line within the limit.Checks the order of methods declaration.Multi line comment checker.Check indents in multi line JavaDoc tags.Forbids nestedswitchstatements.Checks that there is no Javadoc for inherited methods.Checks that non static method must contain at least one reference tothis.Checks that test classes do not declare instance fields, since such fields couple tests together through shared state.Prohibits hard-coded line separator escape sequences inside string literals.Checks that classes are declared as final.Forbids theexpectedparameter on JUnit's@Testannotation.Forbids@Test-annotated methods whose name starts withtestorshould.Checks that constructor, declared as private class is used more than once.Checks that final class doesn't contain protected methods unless they are overriding protected methods from superclass.Checks if inner classes are properly accessed using their qualified name with the outer class.Checks that constructors do not contain a redundantsuper()call when the enclosing class does not extend any class explicitly.Checks that String.split is only invoked with regex arguments that the JDK handles via its fastpath.C++ style inline comment is not allowed.Checks that static members are not accessed through an instance reference.Checks for not using concatenation of string literals in any form.