Enum Class WholeProgramInference.OutputFormat
java.lang.Object
java.lang.Enum<WholeProgramInference.OutputFormat>
org.checkerframework.common.wholeprograminference.WholeProgramInference.OutputFormat
- All Implemented Interfaces:
Serializable
,Comparable<WholeProgramInference.OutputFormat>
,Constable
- Enclosing interface:
- WholeProgramInference
public static enum WholeProgramInference.OutputFormat
extends Enum<WholeProgramInference.OutputFormat>
The kinds of output that whole-program inference can produce.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionOutput the results of whole-program inference as an ajava file that can be read in using the-Aajava
option.Output the results of whole-program inference as a Java annotation index file.Output the results of whole-program inference as a stub file that can be parsed back into the Checker Framework by the Stub Parser. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static WholeProgramInference.OutputFormat[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
STUB
Output the results of whole-program inference as a stub file that can be parsed back into the Checker Framework by the Stub Parser. -
JAIF
Output the results of whole-program inference as a Java annotation index file. The Annotation File Utilities project contains code for reading and writing .jaif files. -
AJAVA
Output the results of whole-program inference as an ajava file that can be read in using the-Aajava
option.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-