Enum Parser.ClassDeclarationContext

java.lang.Object
java.lang.Enum<Parser.ClassDeclarationContext>
org.codehaus.janino.Parser.ClassDeclarationContext
All Implemented Interfaces:
Serializable, Comparable<Parser.ClassDeclarationContext>, java.lang.constant.Constable
Enclosing class:
Parser

public static enum Parser.ClassDeclarationContext extends Enum<Parser.ClassDeclarationContext>
The kinds of context where a class declaration can occur.
  • Enum Constant Details

  • Constructor Details

    • ClassDeclarationContext

      private ClassDeclarationContext()
  • Method Details

    • values

      public static Parser.ClassDeclarationContext[] 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 Parser.ClassDeclarationContext 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