@PublicEvolving @Deprecated public enum CodeAnalysisMode extends Enum<CodeAnalysisMode>
The analyzer gives hints about: - ForwardedFields semantic properties - Warnings if static fields are modified by a Function - Warnings if a FilterFunction modifies its input objects - Warnings if a Function returns null - Warnings if a tuple access uses a wrong index - Information about the number of object creations (for manual optimization)
Enum Constant and Description |
---|
DISABLE
Deprecated.
Code analysis does not take place.
|
HINT
Deprecated.
Hints for improvement of the program are printed to the log.
|
OPTIMIZE
Deprecated.
The program will be automatically optimized with knowledge from code analysis.
|
Modifier and Type | Method and Description |
---|---|
static CodeAnalysisMode |
valueOf(String name)
Deprecated.
Returns the enum constant of this type with the specified name.
|
static CodeAnalysisMode[] |
values()
Deprecated.
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–2021 The Apache Software Foundation. All rights reserved.