Interface MessageKeyWithArgs

  • All Superinterfaces:
    MessageKey

    public interface MessageKeyWithArgs
    extends MessageKey
    A message key with information about its arguments.
    • Method Detail

      • hasArgs

        boolean hasArgs()
        Returns whether the message key has arguments.
        Returns:
        whether the message key has arguments
      • getArgTypes

        String[] getArgTypes()
        Returns the types of the message arguments in their declared order.
        Returns:
        the types of the message arguments in their declared order
      • getArgNames

        String[] getArgNames()
        Returns the names of the message arguments in their declared order. The names may be null if none were declared.
        Returns:
        the names of the message arguments in their declared order
      • getArgs

        default List<MessageArg> getArgs()
        Returns the list of message arguments.
        Returns:
        the list of message arguments