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
PRIVATE
4
public static final int
PROTECTED
2
public static final int
PUBLIC
1
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
56
public static final int
JJTALLOCATIONEXPRESSION
76
public static final int
JJTANDEXPRESSION
50
public static final int
JJTANNOTATION
112
public static final int
JJTANNOTATIONMETHODDECLARATION
123
public static final int
JJTANNOTATIONTYPEBODY
121
public static final int
JJTANNOTATIONTYPEDECLARATION
120
public static final int
JJTANNOTATIONTYPEMEMBERDECLARATION
122
public static final int
JJTARGUMENTLIST
75
public static final int
JJTARGUMENTS
74
public static final int
JJTARRAYDIMSANDINITS
77
public static final int
JJTARRAYINITIALIZER
25
public static final int
JJTASSERTSTATEMENT
109
public static final int
JJTASSIGNMENTOPERATOR
44
public static final int
JJTBLOCK
80
public static final int
JJTBLOCKSTATEMENT
81
public static final int
JJTBOOLEANLITERAL
72
public static final int
JJTBREAKSTATEMENT
98
public static final int
JJTCASTEXPRESSION
63
public static final int
JJTCATCHSTATEMENT
107
public static final int
JJTCLASSORINTERFACEBODY
19
public static final int
JJTCLASSORINTERFACEBODYDECLARATION
20
public static final int
JJTCLASSORINTERFACEDECLARATION
5
public static final int
JJTCLASSORINTERFACETYPE
35
public static final int
JJTCOMPILATIONUNIT
0
public static final int
JJTCONDITIONALANDEXPRESSION
47
public static final int
JJTCONDITIONALEXPRESSION
45
public static final int
JJTCONDITIONALOREXPRESSION
46
public static final int
JJTCONSTRUCTORDECLARATION
30
public static final int
JJTCONTINUESTATEMENT
99
public static final int
JJTDEFAULTVALUE
124
public static final int
JJTDOSTATEMENT
93
public static final int
JJTEMPTYSTATEMENT
83
public static final int
JJTENUMBODY
9
public static final int
JJTENUMCONSTANT
10
public static final int
JJTENUMDECLARATION
8
public static final int
JJTEQUALITYEXPRESSION
51
public static final int
JJTEXCLUSIVEOREXPRESSION
49
public static final int
JJTEXPLICITCONSTRUCTORINVOCATION
31
public static final int
JJTEXPRESSION
43
public static final int
JJTEXTENDSLIST
6
public static final int
JJTFIELDDECLARATION
21
public static final int
JJTFINALLYSTATEMENT
108
public static final int
JJTFORINIT
95
public static final int
JJTFORMALPARAMETER
29
public static final int
JJTFORMALPARAMETERS
28
public static final int
JJTFORSTATEMENT
94
public static final int
JJTFORUPDATE
97
public static final int
JJTIFSTATEMENT
91
public static final int
JJTIMPLEMENTSLIST
7
public static final int
JJTIMPORTDECLARATION
3
public static final int
JJTINCLUSIVEOREXPRESSION
48
public static final int
JJTINITIALIZER
32
public static final int
JJTINSTANCEOFEXPRESSION
52
public static final int
JJTLABELEDSTATEMENT
79
public static final int
JJTLAMBDAEXPRESSION
69
public static final int
JJTLITERAL
71
public static final int
JJTLOCALVARIABLEDECLARATION
82
public static final int
JJTMARKERANNOTATION
114
public static final int
JJTMEMBERSELECTOR
66
public static final int
JJTMEMBERVALUE
118
public static final int
JJTMEMBERVALUEARRAYINITIALIZER
119
public static final int
JJTMEMBERVALUEPAIR
117
public static final int
JJTMEMBERVALUEPAIRS
116
public static final int
JJTMETHODDECLARATION
26
public static final int
JJTMETHODDECLARATOR
27
public static final int
JJTMETHODREFERENCE
67
public static final int
JJTMODULEDECLARATION
125
public static final int
JJTMODULEDIRECTIVE
126
public static final int
JJTMODULENAME
127
public static final int
JJTMULTIPLICATIVEEXPRESSION
57
public static final int
JJTNAME
41
public static final int
JJTNAMELIST
42
public static final int
JJTNORMALANNOTATION
113
public static final int
JJTNULLLITERAL
73
public static final int
JJTPACKAGEDECLARATION
2
public static final int
JJTPOSTFIXEXPRESSION
62
public static final int
JJTPREDECREMENTEXPRESSION
60
public static final int
JJTPREINCREMENTEXPRESSION
59
public static final int
JJTPRIMARYEXPRESSION
65
public static final int
JJTPRIMARYPREFIX
68
public static final int
JJTPRIMARYSUFFIX
70
public static final int
JJTPRIMITIVETYPE
39
public static final int
JJTRECORDBODY
14
public static final int
JJTRECORDCOMPONENT
13
public static final int
JJTRECORDCOMPONENTLIST
12
public static final int
JJTRECORDCONSTRUCTORDECLARATION
15
public static final int
JJTRECORDDECLARATION
11
public static final int
JJTREFERENCETYPE
34
public static final int
JJTRELATIONALEXPRESSION
54
public static final int
JJTRESOURCE
106
public static final int
JJTRESOURCES
105
public static final int
JJTRESOURCESPECIFICATION
104
public static final int
JJTRESULTTYPE
40
public static final int
JJTRETURNSTATEMENT
100
public static final int
JJTRSIGNEDSHIFT
111
public static final int
JJTRUNSIGNEDSHIFT
110
public static final int
JJTSHIFTEXPRESSION
55
public static final int
JJTSINGLEMEMBERANNOTATION
115
public static final int
JJTSTATEMENT
78
public static final int
JJTSTATEMENTEXPRESSION
84
public static final int
JJTSTATEMENTEXPRESSIONLIST
96
public static final int
JJTSWITCHEXPRESSION
64
public static final int
JJTSWITCHLABEL
89
public static final int
JJTSWITCHLABELEDBLOCK
87
public static final int
JJTSWITCHLABELEDEXPRESSION
86
public static final int
JJTSWITCHLABELEDTHROWSTATEMENT
88
public static final int
JJTSWITCHSTATEMENT
85
public static final int
JJTSYNCHRONIZEDSTATEMENT
102
public static final int
JJTTHROWSTATEMENT
101
public static final int
JJTTRYSTATEMENT
103
public static final int
JJTTYPE
33
public static final int
JJTTYPEARGUMENT
37
public static final int
JJTTYPEARGUMENTS
36
public static final int
JJTTYPEBOUND
18
public static final int
JJTTYPEDECLARATION
4
public static final int
JJTTYPEPARAMETER
17
public static final int
JJTTYPEPARAMETERS
16
public static final int
JJTTYPETESTPATTERN
53
public static final int
JJTUNARYEXPRESSION
58
public static final int
JJTUNARYEXPRESSIONNOTPLUSMINUS
61
public static final int
JJTVARIABLEDECLARATOR
22
public static final int
JJTVARIABLEDECLARATORID
23
public static final int
JJTVARIABLEINITIALIZER
24
public static final int
JJTVOID
1
public static final int
JJTWHILESTATEMENT
92
public static final int
JJTWILDCARDBOUNDS
38
public static final int
JJTYIELDSTATEMENT
90
-
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