Enum Declarations.Declaration

java.lang.Object
java.lang.Enum<Declarations.Declaration>
org.inferred.freebuilder.processor.Declarations.Declaration
All Implemented Interfaces:
Serializable, Comparable<Declarations.Declaration>, java.lang.constant.Constable, Scope.Key<Variable>
Enclosing class:
Declarations

private static enum Declarations.Declaration extends Enum<Declarations.Declaration> implements Scope.Key<Variable>
  • Enum Constant Details

  • Constructor Details

    • Declaration

      private Declaration()
  • Method Details

    • values

      public static Declarations.Declaration[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static Declarations.Declaration valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified name
      NullPointerException - if the argument is null
    • level

      public Scope.Level level()
      Specified by:
      level in interface Scope.Key<Variable>