Interface JTypeParamDef


public interface JTypeParamDef
A type parameter definition.
Author:
David M. Lloyd
  • Method Details

    • _extends

      JTypeParamDef _extends(String type)
      Add an extends bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition
    • _extends

      JTypeParamDef _extends(JType type)
      Add an extends bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition
    • _extends

      JTypeParamDef _extends(Class<?> type)
      Add an extends bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition
    • _super

      JTypeParamDef _super(String type)
      Add a super bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition
    • _super

      JTypeParamDef _super(JType type)
      Add a super bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition
    • _super

      JTypeParamDef _super(Class<?> type)
      Add a super bound to this parameter.
      Parameters:
      type - the bound type
      Returns:
      this type parameter definition