| Package | Description |
|---|---|
| com.helger.jcodemodel |
Library for generating Java source code.
|
| Modifier and Type | Class and Description |
|---|---|
class |
JTypeVarClass
A special type variable that is used inside
JInvocation objects if
the parameter type is an AbstractJClass |
| Modifier and Type | Field and Description |
|---|---|
static JTypeVar[] |
AbstractJClass.EMPTY_ARRAY
Sometimes useful reusable empty array.
|
| Modifier and Type | Method and Description |
|---|---|
JTypeVar |
JTypeVar.bound(AbstractJClass bound)
Adds a bound to this variable.
|
JTypeVar |
JDefinedClass.generify(String name) |
JTypeVar |
IJGenerifiable.generify(String name)
Adds a new type variable to this declaration.
|
JTypeVar |
AbstractJGenerifiableImpl.generify(String name) |
JTypeVar |
JDefinedClass.generify(String name,
AbstractJClass bound) |
JTypeVar |
IJGenerifiable.generify(String name,
AbstractJClass bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
AbstractJGenerifiableImpl.generify(String name,
AbstractJClass _extends) |
JTypeVar |
JDefinedClass.generify(String name,
Class<?> bound) |
JTypeVar |
IJGenerifiable.generify(String name,
Class<?> bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
AbstractJGenerifiableImpl.generify(String name,
Class<?> _extends) |
JTypeVar[] |
JDefinedClass.typeParams() |
JTypeVar[] |
IJGenerifiable.typeParams()
Iterates all the type parameters of this declaration.
|
JTypeVar[] |
AbstractJGenerifiableImpl.typeParams() |
JTypeVar[] |
AbstractJClass.typeParams()
Iterates all the type parameters of this class/interface.
|
| Modifier and Type | Method and Description |
|---|---|
List<JTypeVar> |
JInvocation.typeParamList() |
List<JTypeVar> |
JDefinedClass.typeParamList() |
List<JTypeVar> |
IJGenerifiable.typeParamList()
Get a list of all type parameters of this declaration.
|
List<JTypeVar> |
AbstractJGenerifiableImpl.typeParamList() |
| Modifier and Type | Method and Description |
|---|---|
protected AbstractJClass |
JTypeWildcard.substituteParams(JTypeVar[] aVariables,
List<? extends AbstractJClass> aBindings) |
protected AbstractJClass |
JTypeVar.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JNullType.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JNarrowedClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JErrorClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JDirectClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JDefinedClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected AbstractJClass |
JArrayClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings) |
protected abstract AbstractJClass |
AbstractJClass.substituteParams(JTypeVar[] variables,
List<? extends AbstractJClass> bindings)
Substitutes the type variables with their actual arguments.
|
Copyright © 2013–2015 Philip Helger. All rights reserved.