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 aGenericCapableSourceJavaSource.- Author:
- mbenson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TypeVariableSource<O>removeBounds()Remove any bounds declared on this type variable.TypeVariableSource<O>setBounds(java.lang.Class<?>... bounds)Set the bounds of this type variable.TypeVariableSource<O>setBounds(java.lang.String... bounds)Set the bounds of this type variable.TypeVariableSource<O>setBounds(JavaType<?>... bounds)Set the bounds of this type variable.-
Methods inherited from interface org.jboss.forge.roaster.Internal
getInternal
-
Methods inherited from interface org.jboss.forge.roaster.model.source.NamedSource
setName
-
Methods inherited from interface org.jboss.forge.roaster.model.TypeVariable
getBounds
-
-
-
-
Method Detail
-
setBounds
TypeVariableSource<O> setBounds(JavaType<?>... bounds)
Set the bounds of this type variable.- Parameters:
bounds-- Returns:
- this
-
setBounds
TypeVariableSource<O> setBounds(java.lang.Class<?>... bounds)
Set the bounds of this type variable.- Parameters:
bounds-- Returns:
- this
-
setBounds
TypeVariableSource<O> setBounds(java.lang.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
-
-