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.
  • Enum Constant Details

    • STUB

      public static final WholeProgramInference.OutputFormat 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

      public static final WholeProgramInference.OutputFormat 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

      public static final WholeProgramInference.OutputFormat AJAVA
      Output the results of whole-program inference as an ajava file that can be read in using the -Aajava option.
  • Method Details

    • values

      public static WholeProgramInference.OutputFormat[] 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

      public static WholeProgramInference.OutputFormat valueOf(String name)
      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 name
      NullPointerException - if the argument is null