Interface Declaration.Constant

All Superinterfaces:
Declaration
Enclosing interface:
Declaration

public static interface Declaration.Constant extends Declaration
A constant value declaration.
  • Method Details

    • value

      Object value()
      The value associated with this constant declaration.
      Returns:
      The value associated with this constant declaration.
    • type

      Type type()
      The type associated with this constant declaration.
      Returns:
      The type associated with this constant declaration.