@PublicEvolving public enum CodeAnalysisMode extends Enum<CodeAnalysisMode>
Enum Constant and Description |
---|
DISABLE
Code analysis does not take place.
|
HINT
Hints for improvement of the program are printed to the log.
|
OPTIMIZE
The program will be automatically optimized with knowledge from code
analysis.
|
Modifier and Type | Method and Description |
---|---|
static CodeAnalysisMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CodeAnalysisMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CodeAnalysisMode DISABLE
public static final CodeAnalysisMode HINT
public static final CodeAnalysisMode OPTIMIZE
public static CodeAnalysisMode[] values()
for (CodeAnalysisMode c : CodeAnalysisMode.values()) System.out.println(c);
public static CodeAnalysisMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2014–2020 The Apache Software Foundation. All rights reserved.