rulebook
Toggle table of contents
0.1
jvm
Platform filter
jvm
Switch theme
Search in API
rulebook
rulebook-codenarc
/
com.hanggrian.rulebook.codenarc
/
BuiltInFunctionPositionRule
Built
In
Function
Position
Rule
class
BuiltInFunctionPositionRule
:
RulebookAstRule
See detail
Members
Members & Extensions
Constructors
Built
In
Function
Position
Rule
Link copied to clipboard
constructor
(
)
Types
Visitor
Link copied to clipboard
class
Visitor
:
AbstractAstVisitor
Properties
apply
To
Class
Names
Link copied to clipboard
var
applyToClassNames
:
String
apply
To
File
Names
Link copied to clipboard
var
applyToFileNames
:
String
apply
To
Files
Matching
Link copied to clipboard
var
applyToFilesMatching
:
String
description
Link copied to clipboard
var
description
:
String
do
Not
Apply
To
Class
Names
Link copied to clipboard
var
doNotApplyToClassNames
:
String
do
Not
Apply
To
File
Names
Link copied to clipboard
var
doNotApplyToFileNames
:
String
do
Not
Apply
To
Files
Matching
Link copied to clipboard
var
doNotApplyToFilesMatching
:
String
enabled
Link copied to clipboard
var
enabled
:
Boolean
violation
Message
Link copied to clipboard
var
violationMessage
:
String
Functions
apply
To
Link copied to clipboard
open
override
fun
applyTo
(
p0
:
SourceCode
,
p1
:
MutableList
<
Violation
>
)
open
override
fun
applyTo
(
p0
:
SourceCode
)
:
MutableList
<
Violation
>
create
Violation
Link copied to clipboard
fun
Rule
.
createViolation
(
lineNumber
:
Int
,
sourceLine
:
String
,
message
:
String
)
:
Violation
Alias of
AbstractRule.createViolation
that is not protected.
get
Ast
Visitor
Link copied to clipboard
open
fun
getAstVisitor
(
)
:
AstVisitor
get
Compiler
Phase
Link copied to clipboard
open
override
fun
getCompilerPhase
(
)
:
Int
get
Name
Link copied to clipboard
open
override
fun
getName
(
)
:
String
get
Priority
Link copied to clipboard
override
fun
getPriority
(
)
:
Int
is
Ready
Link copied to clipboard
open
fun
isReady
(
)
:
Boolean
set
Name
Link copied to clipboard
override
fun
setName
(
name
:
String
?
)
:
Nothing
set
Priority
Link copied to clipboard
override
fun
setPriority
(
priority
:
Int
)
:
Nothing
to
String
Link copied to clipboard
open
override
fun
toString
(
)
:
String
validate
Link copied to clipboard
open
fun
validate
(
)