Interface ParameterDescriptor<T>

Type Parameters:
T - The type of the parameter.

public interface ParameterDescriptor<T>
Description of a parameter or return value related to a MethodDescriptor.
  • Method Details

    • isStreaming

      boolean isStreaming()
      Determine if the parameter type is streaming or scalar.
      Returns:
      true if the parameter is streaming. false if the parameter is scalar.
    • isAsync

      boolean isAsync()
      Determine if the parameter type is asynchronous.
      Returns:
      true if the parameter type is asynchronous. false if the parameter type is synchronous.
    • parameterClass

      Class<T> parameterClass()
      Get the java Class for the parameter type.
      Returns:
      the java Class for the parameter type.
    • serializerDescriptor

      SerializerDescriptor<T> serializerDescriptor()
      Get the SerializerDescriptor for this parameter.
      Returns:
      the SerializerDescriptor for this parameter.