rulebook
Toggle table of contents
0.3
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
rulebook
rulebook-codenarc
/
com.hanggrian.rulebook.codenarc.rules
/
RulebookAstRule
Rulebook
Ast
Rule
abstract
class
RulebookAstRule
:
AbstractAstVisitorRule
Rule that uses Groovy AST tree to validate a node.
Inheritors
AbbreviationAsWordRule
AssignmentWrapRule
BracketsTrimRule
CaseSeparatorRule
ChainCallWrapRule
CommonFunctionPositionRule
ComplicatedAssignmentRule
ComplicatedSizeEqualityRule
DecentralizedDependencyRule
EagerApiRule
GenericNameRule
IllegalVariableNameRule
InnerClassPositionRule
LambdaWrapRule
LonelyCaseRule
LonelyConfigurationRule
LonelyIfRule
LowercaseDRule
LowercaseFRule
LowercaseHexadecimalRule
LowercaseIRule
MeaninglessWordRule
MemberOrderRule
MemberSeparatorRule
MissingPrivateConstructorRule
NestedIfElseRule
OperatorWrapRule
OverloadFunctionPositionRule
ParameterWrapRule
ParenthesesTrimRule
RedundantDefaultRule
RedundantElseRule
RedundantEqualityRule
RootProjectNameRule
ScriptFileNameRule
StatementWrapRule
TagsTrimRule
TrailingCommaInCallRule
UnnecessaryContinueRule
UnnecessaryParenthesesInLambdaRule
UnnecessaryReturnRule
Members
Constructors
Rulebook
Ast
Rule
Link copied to clipboard
constructor
(
)
Properties
apply
To
Class
Names
Link copied to clipboard
open
var
applyToClassNames
:
String
?
apply
To
File
Names
Link copied to clipboard
open
var
applyToFileNames
:
String
?
apply
To
Files
Matching
Link copied to clipboard
open
var
applyToFilesMatching
:
String
?
ast
Visitor
Link copied to clipboard
open
val
astVisitor
:
AstVisitor
?
compiler
Phase
Link copied to clipboard
open
val
compilerPhase
:
Int
description
Link copied to clipboard
open
var
description
:
String
?
do
Not
Apply
To
Class
Names
Link copied to clipboard
open
var
doNotApplyToClassNames
:
String
?
do
Not
Apply
To
File
Names
Link copied to clipboard
open
var
doNotApplyToFileNames
:
String
?
do
Not
Apply
To
Files
Matching
Link copied to clipboard
open
var
doNotApplyToFilesMatching
:
String
?
is
Enabled
Link copied to clipboard
open
var
isEnabled
:
Boolean
is
Ready
Link copied to clipboard
open
val
isReady
:
Boolean
name
Link copied to clipboard
abstract
var
name
:
String
?
priority
Link copied to clipboard
override
var
priority
:
Int
violation
Message
Link copied to clipboard
open
var
violationMessage
:
String
?
Functions
apply
To
Link copied to clipboard
open
fun
applyTo
(
sourceCode
:
SourceCode
?
,
violations
:
List
<
Violation
?
>
?
)
open
fun
applyTo
(
sourceCode
:
SourceCode
?
)
:
List
<
Violation
?
>
?
get
Priority
Link copied to clipboard
override
fun
getPriority
(
)
:
Int
set
Name
Link copied to clipboard
override
fun
setName
(
name
:
String
?
)
:
Nothing
set
Priority
Link copied to clipboard
override
fun
setPriority
(
priority
:
Int
)
:
Nothing
validate
Link copied to clipboard
open
fun
validate
(
)