Interface Parameters

    • Method Summary

      All Methods Instance Methods Default Methods 
      Modifier and Type Method Description
      default String serialize()
      Goes through all public methods defined in an interface that extends this interface and calls them in the context of the class that called this method, then joins the method name with the result it produced using an ampersand (&) as a delimiter.
    • Method Detail

      • serialize

        default String serialize()
        Goes through all public methods defined in an interface that extends this interface and calls them in the context of the class that called this method, then joins the method name with the result it produced using an ampersand (&) as a delimiter.

        It works on interfaces with deep inheritance and filters out any methods defined on this interface (with the assumption that they come from the same class loader).

        Returns:
        String of "key=value" joined on &