Interface DefaultImplementationBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      <S> S <S> serviceInterface)
      Creates a new implementation of the provided interface.
    • Method Detail

      • createDefaultImplementation

        <S> S <S> serviceInterface)
        Creates a new implementation of the provided interface. Each method in the interface will be implemented as a noop method. The method will ignore any parameters and return null, or 0, or false (or return nothing if the method is void).
        Type Parameters:
        S -
        Parameters:
        serviceInterface -
        Returns:
        implementation of service interface