Constant Field Values
Contents
net.sourceforge.*
-
net.sourceforge.pmd.cpd.JavaTokenizer Modifier and Type Constant Field Value public static final String
CPD_END
"\"CPD-END\""
public static final String
CPD_START
"\"CPD-START\""
-
net.sourceforge.pmd.lang.java.JavaLanguageModule Modifier and Type Constant Field Value public static final String
NAME
"Java"
public static final String
TERSE_NAME
"java"
-
net.sourceforge.pmd.lang.java.ast.AccessNode Modifier and Type Constant Field Value public static final int
ABSTRACT
8
public static final int
DEFAULT
8192
public static final int
FINAL
32
public static final int
NATIVE
128
public static final int
NON_SEALED
32768
public static final int
PRIVATE
4
public static final int
PROTECTED
2
public static final int
PUBLIC
1
public static final int
SEALED
16384
public static final int
STATIC
16
public static final int
STRICTFP
4096
public static final int
SYNCHRONIZED
64
public static final int
TRANSIENT
256
public static final int
VOLATILE
512
-
net.sourceforge.pmd.lang.java.ast.JavaParserConstants Modifier and Type Constant Field Value public static final int
_DEFAULT
19
public static final int
ABSTRACT
9
public static final int
ANDASSIGN
112
public static final int
ASSIGN
85
public static final int
AT
84
public static final int
BANG
87
public static final int
BINARY_LITERAL
63
public static final int
BIT_AND
103
public static final int
BIT_OR
104
public static final int
BOOLEAN
10
public static final int
BREAK
11
public static final int
BYTE
12
public static final int
CASE
13
public static final int
CATCH
14
public static final int
CHAR
15
public static final int
CHARACTER_LITERAL
68
public static final int
CLASS
16
public static final int
COLON
90
public static final int
COMMA
82
public static final int
CONST
17
public static final int
CONTINUE
18
public static final int
DECIMAL_LITERAL
61
public static final int
DECR
98
public static final int
DEFAULT
0
public static final int
DO
20
public static final int
DOT
83
public static final int
DOUBLE
21
public static final int
ELLIPSIS
119
public static final int
ELSE
22
public static final int
EOF
0
public static final int
EQ
91
public static final int
EXPONENT
67
public static final int
EXTENDS
23
public static final int
FALSE
24
public static final int
FINAL
25
public static final int
FINALLY
26
public static final int
FLOAT
27
public static final int
FLOATING_POINT_LITERAL
65
public static final int
FOR
28
public static final int
FORMAL_COMMENT
6
public static final int
GE
93
public static final int
GOTO
29
public static final int
GT
124
public static final int
HEX_FLOATING_POINT_LITERAL
66
public static final int
HEX_LITERAL
62
public static final int
HOOK
89
public static final int
HORIZONTAL_WHITESPACE
1
public static final int
IDENTIFIER
72
public static final int
IF
30
public static final int
IMPLEMENTS
31
public static final int
IMPORT
32
public static final int
IN_FORMAL_COMMENT
1
public static final int
IN_MULTI_LINE_COMMENT
2
public static final int
INCR
97
public static final int
INSTANCEOF
33
public static final int
INT
34
public static final int
INTEGER_LITERAL
60
public static final int
INTERFACE
35
public static final int
LAMBDA
120
public static final int
LBRACE
77
public static final int
LBRACKET
79
public static final int
LE
92
public static final int
LETTER
73
public static final int
LINE_TERMINATOR
2
public static final int
LONG
36
public static final int
LPAREN
75
public static final int
LSHIFT
107
public static final int
LSHIFTASSIGN
116
public static final int
LT
86
public static final int
METHOD_REF
121
public static final int
MINUS
100
public static final int
MINUSASSIGN
109
public static final int
MULTI_LINE_COMMENT
7
public static final int
NATIVE
37
public static final int
NE
94
public static final int
NEW
38
public static final int
NULL
39
public static final int
OCTAL_LITERAL
64
public static final int
ORASSIGN
113
public static final int
PACKAGE
40
public static final int
PART_LETTER
74
public static final int
PLUS
99
public static final int
PLUSASSIGN
108
public static final int
PRIVATE
41
public static final int
PROTECTED
42
public static final int
PUBLIC
43
public static final int
RBRACE
78
public static final int
RBRACKET
80
public static final int
REM
106
public static final int
REMASSIGN
115
public static final int
RETURN
44
public static final int
RPAREN
76
public static final int
RSIGNEDSHIFT
123
public static final int
RSIGNEDSHIFTASSIGN
117
public static final int
RUNSIGNEDSHIFT
122
public static final int
RUNSIGNEDSHIFTASSIGN
118
public static final int
SC_AND
96
public static final int
SC_OR
95
public static final int
SEMICOLON
81
public static final int
SHORT
45
public static final int
SINGLE_LINE_COMMENT
3
public static final int
SLASH
102
public static final int
SLASHASSIGN
111
public static final int
STAR
101
public static final int
STARASSIGN
110
public static final int
STATIC
46
public static final int
STRICTFP
59
public static final int
STRING_ESCAPE
69
public static final int
STRING_LITERAL
70
public static final int
SUPER
47
public static final int
SWITCH
48
public static final int
SYNCHRONIZED
49
public static final int
TEXT_BLOCK_LITERAL
71
public static final int
THIS
50
public static final int
THROW
51
public static final int
THROWS
52
public static final int
TILDE
88
public static final int
TRANSIENT
53
public static final int
TRUE
54
public static final int
TRY
55
public static final int
VOID
56
public static final int
VOLATILE
57
public static final int
WHILE
58
public static final int
XOR
105
public static final int
XORASSIGN
114
-
net.sourceforge.pmd.lang.java.ast.JavaParserTreeConstants Modifier and Type Constant Field Value public static final int
JJTADDITIVEEXPRESSION
57
public static final int
JJTALLOCATIONEXPRESSION
77
public static final int
JJTANDEXPRESSION
51
public static final int
JJTANNOTATION
113
public static final int
JJTANNOTATIONMETHODDECLARATION
124
public static final int
JJTANNOTATIONTYPEBODY
122
public static final int
JJTANNOTATIONTYPEDECLARATION
121
public static final int
JJTANNOTATIONTYPEMEMBERDECLARATION
123
public static final int
JJTARGUMENTLIST
76
public static final int
JJTARGUMENTS
75
public static final int
JJTARRAYDIMSANDINITS
78
public static final int
JJTARRAYINITIALIZER
26
public static final int
JJTASSERTSTATEMENT
110
public static final int
JJTASSIGNMENTOPERATOR
45
public static final int
JJTBLOCK
81
public static final int
JJTBLOCKSTATEMENT
82
public static final int
JJTBOOLEANLITERAL
73
public static final int
JJTBREAKSTATEMENT
99
public static final int
JJTCASTEXPRESSION
64
public static final int
JJTCATCHSTATEMENT
108
public static final int
JJTCLASSORINTERFACEBODY
20
public static final int
JJTCLASSORINTERFACEBODYDECLARATION
21
public static final int
JJTCLASSORINTERFACEDECLARATION
5
public static final int
JJTCLASSORINTERFACETYPE
36
public static final int
JJTCOMPILATIONUNIT
0
public static final int
JJTCONDITIONALANDEXPRESSION
48
public static final int
JJTCONDITIONALEXPRESSION
46
public static final int
JJTCONDITIONALOREXPRESSION
47
public static final int
JJTCONSTRUCTORDECLARATION
31
public static final int
JJTCONTINUESTATEMENT
100
public static final int
JJTDEFAULTVALUE
125
public static final int
JJTDOSTATEMENT
94
public static final int
JJTEMPTYSTATEMENT
84
public static final int
JJTENUMBODY
10
public static final int
JJTENUMCONSTANT
11
public static final int
JJTENUMDECLARATION
9
public static final int
JJTEQUALITYEXPRESSION
52
public static final int
JJTEXCLUSIVEOREXPRESSION
50
public static final int
JJTEXPLICITCONSTRUCTORINVOCATION
32
public static final int
JJTEXPRESSION
44
public static final int
JJTEXTENDSLIST
6
public static final int
JJTFIELDDECLARATION
22
public static final int
JJTFINALLYSTATEMENT
109
public static final int
JJTFORINIT
96
public static final int
JJTFORMALPARAMETER
30
public static final int
JJTFORMALPARAMETERS
29
public static final int
JJTFORSTATEMENT
95
public static final int
JJTFORUPDATE
98
public static final int
JJTIFSTATEMENT
92
public static final int
JJTIMPLEMENTSLIST
7
public static final int
JJTIMPORTDECLARATION
3
public static final int
JJTINCLUSIVEOREXPRESSION
49
public static final int
JJTINITIALIZER
33
public static final int
JJTINSTANCEOFEXPRESSION
53
public static final int
JJTLABELEDSTATEMENT
80
public static final int
JJTLAMBDAEXPRESSION
70
public static final int
JJTLITERAL
72
public static final int
JJTLOCALVARIABLEDECLARATION
83
public static final int
JJTMARKERANNOTATION
115
public static final int
JJTMEMBERSELECTOR
67
public static final int
JJTMEMBERVALUE
119
public static final int
JJTMEMBERVALUEARRAYINITIALIZER
120
public static final int
JJTMEMBERVALUEPAIR
118
public static final int
JJTMEMBERVALUEPAIRS
117
public static final int
JJTMETHODDECLARATION
27
public static final int
JJTMETHODDECLARATOR
28
public static final int
JJTMETHODREFERENCE
68
public static final int
JJTMODULEDECLARATION
126
public static final int
JJTMODULEDIRECTIVE
127
public static final int
JJTMODULENAME
128
public static final int
JJTMULTIPLICATIVEEXPRESSION
58
public static final int
JJTNAME
42
public static final int
JJTNAMELIST
43
public static final int
JJTNORMALANNOTATION
114
public static final int
JJTNULLLITERAL
74
public static final int
JJTPACKAGEDECLARATION
2
public static final int
JJTPERMITSLIST
8
public static final int
JJTPOSTFIXEXPRESSION
63
public static final int
JJTPREDECREMENTEXPRESSION
61
public static final int
JJTPREINCREMENTEXPRESSION
60
public static final int
JJTPRIMARYEXPRESSION
66
public static final int
JJTPRIMARYPREFIX
69
public static final int
JJTPRIMARYSUFFIX
71
public static final int
JJTPRIMITIVETYPE
40
public static final int
JJTRECORDBODY
15
public static final int
JJTRECORDCOMPONENT
14
public static final int
JJTRECORDCOMPONENTLIST
13
public static final int
JJTRECORDCONSTRUCTORDECLARATION
16
public static final int
JJTRECORDDECLARATION
12
public static final int
JJTREFERENCETYPE
35
public static final int
JJTRELATIONALEXPRESSION
55
public static final int
JJTRESOURCE
107
public static final int
JJTRESOURCES
106
public static final int
JJTRESOURCESPECIFICATION
105
public static final int
JJTRESULTTYPE
41
public static final int
JJTRETURNSTATEMENT
101
public static final int
JJTRSIGNEDSHIFT
112
public static final int
JJTRUNSIGNEDSHIFT
111
public static final int
JJTSHIFTEXPRESSION
56
public static final int
JJTSINGLEMEMBERANNOTATION
116
public static final int
JJTSTATEMENT
79
public static final int
JJTSTATEMENTEXPRESSION
85
public static final int
JJTSTATEMENTEXPRESSIONLIST
97
public static final int
JJTSWITCHEXPRESSION
65
public static final int
JJTSWITCHLABEL
90
public static final int
JJTSWITCHLABELEDBLOCK
88
public static final int
JJTSWITCHLABELEDEXPRESSION
87
public static final int
JJTSWITCHLABELEDTHROWSTATEMENT
89
public static final int
JJTSWITCHSTATEMENT
86
public static final int
JJTSYNCHRONIZEDSTATEMENT
103
public static final int
JJTTHROWSTATEMENT
102
public static final int
JJTTRYSTATEMENT
104
public static final int
JJTTYPE
34
public static final int
JJTTYPEARGUMENT
38
public static final int
JJTTYPEARGUMENTS
37
public static final int
JJTTYPEBOUND
19
public static final int
JJTTYPEDECLARATION
4
public static final int
JJTTYPEPARAMETER
18
public static final int
JJTTYPEPARAMETERS
17
public static final int
JJTTYPETESTPATTERN
54
public static final int
JJTUNARYEXPRESSION
59
public static final int
JJTUNARYEXPRESSIONNOTPLUSMINUS
62
public static final int
JJTVARIABLEDECLARATOR
23
public static final int
JJTVARIABLEDECLARATORID
24
public static final int
JJTVARIABLEINITIALIZER
25
public static final int
JJTVOID
1
public static final int
JJTWHILESTATEMENT
93
public static final int
JJTWILDCARDBOUNDS
39
public static final int
JJTYIELDSTATEMENT
91
-
net.sourceforge.pmd.lang.java.rule.AbstractJUnitRule Modifier and Type Constant Field Value protected static final String
JUNIT3_CLASS_NAME
"junit.framework.TestCase"
protected static final String
JUNIT4_CLASS_NAME
"org.junit.Test"
protected static final String
JUNIT5_CLASS_NAME
"org.junit.jupiter.api.Test"
-
net.sourceforge.pmd.lang.java.rule.bestpractices.AvoidUsingHardCodedIPRule Modifier and Type Constant Field Value public static final String
IPV4
"IPv4"
public static final String
IPV4_MAPPED_IPV6
"IPv4 mapped IPv6"
protected static final String
IPV4_REGEXP
"([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})\\.([0-9]{1,3})"
public static final String
IPV6
"IPv6"
-
net.sourceforge.pmd.lang.java.rule.errorprone.AvoidBranchingStatementAsLastInLoopRule Modifier and Type Constant Field Value public static final String
CHECK_DO
"do"
public static final String
CHECK_FOR
"for"
public static final String
CHECK_WHILE
"while"
-
net.sourceforge.pmd.lang.java.rule.performance.InsufficientStringBufferDeclarationRule Modifier and Type Constant Field Value public static final int
DEFAULT_BUFFER_SIZE
16