Interface TranslationArgumentLike

  • All Superinterfaces:
    ComponentLike
    All Known Subinterfaces:
    TranslationArgument
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface TranslationArgumentLike
    extends ComponentLike
    Represents anything that can be represented as a non-Component TranslationArgument.
    Since:
    4.15.0
    • Method Detail

      • asTranslationArgument

        @NotNull
        @NotNull TranslationArgument asTranslationArgument()
        Get the argument representation of this object.
        Returns:
        the argument representation
        Since:
        4.15.0