public interface IJGenerifiable
| Modifier and Type | Method and Description |
|---|---|
JTypeVar |
generify(String name)
Adds a new type variable to this declaration.
|
JTypeVar |
generify(String name,
AbstractJClass bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
generify(String name,
Class<?> bound)
Adds a new type variable to this declaration with a bound.
|
List<JTypeVar> |
typeParamList()
Get a list of all type parameters of this declaration.
|
JTypeVar[] |
typeParams()
Iterates all the type parameters of this declaration.
|
@Nonnull JTypeVar generify(@Nonnull String name)
name - type variable nameJTypeVar@Nonnull JTypeVar generify(@Nonnull String name, @Nonnull Class<?> bound)
name - type variable namebound - Bound classJTypeVar@Nonnull JTypeVar generify(@Nonnull String name, @Nonnull AbstractJClass bound)
name - type variable namebound - Bound classJTypeVar@Nonnull JTypeVar[] typeParams()
Copyright © 2013–2015 Philip Helger. All rights reserved.