public abstract class AbstractJGenerifiableImpl extends Object implements IJGenerifiable, IJDeclaration, IJOwned
IJGenerifiable.| Constructor and Description |
|---|
AbstractJGenerifiableImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
declare(JFormatter f) |
JTypeVar |
generify(String name)
Adds a new type variable to this declaration.
|
JTypeVar |
generify(String name,
AbstractJClass _extends)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
generify(String name,
Class<?> _extends)
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.
|
public void declare(@Nonnull JFormatter f)
declare in interface IJDeclaration@Nonnull public JTypeVar generify(@Nonnull String name)
IJGenerifiablegenerify in interface IJGenerifiablename - type variable nameJTypeVar@Nonnull public JTypeVar generify(@Nonnull String name, @Nonnull Class<?> _extends)
IJGenerifiablegenerify in interface IJGenerifiablename - type variable name_extends - Bound classJTypeVar@Nonnull public JTypeVar generify(@Nonnull String name, @Nonnull AbstractJClass _extends)
IJGenerifiablegenerify in interface IJGenerifiablename - type variable name_extends - Bound classJTypeVar@Nonnull public JTypeVar[] typeParams()
IJGenerifiabletypeParams in interface IJGenerifiable@Nonnull public List<JTypeVar> typeParamList()
IJGenerifiabletypeParamList in interface IJGenerifiableCopyright © 2013–2015 Philip Helger. All rights reserved.