Interface TypeVariableSource<O extends JavaSource<O>>

All Superinterfaces:
Internal, Named, NamedSource<TypeVariableSource<O>>, Origin<O>, TypeVariable<O>

public interface TypeVariableSource<O extends JavaSource<O>> extends TypeVariable<O>, NamedSource<TypeVariableSource<O>>
Represents a type variable of a GenericCapableSource JavaSource.
Author:
mbenson
  • Method Details

    • setBounds

      TypeVariableSource<O> setBounds(JavaType<?>... bounds)
      Set the bounds of this type variable.
      Parameters:
      bounds -
      Returns:
      this
    • setBounds

      TypeVariableSource<O> setBounds(Class<?>... bounds)
      Set the bounds of this type variable.
      Parameters:
      bounds -
      Returns:
      this
    • setBounds

      TypeVariableSource<O> setBounds(String... bounds)
      Set the bounds of this type variable.
      Parameters:
      bounds -
      Returns:
      this
    • removeBounds

      TypeVariableSource<O> removeBounds()
      Remove any bounds declared on this type variable.
      Returns:
      this