|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use JTypeVar | |
|---|---|
| com.sun.codemodel | Library for generating Java source code |
| Uses of JTypeVar in com.sun.codemodel |
|---|
| Fields in com.sun.codemodel declared as JTypeVar | |
|---|---|
protected static JTypeVar[] |
JClass.EMPTY_ARRAY
Sometimes useful reusable empty array. |
| Methods in com.sun.codemodel that return JTypeVar | |
|---|---|
JTypeVar |
JTypeVar.bound(JClass c)
Adds a bound to this variable. |
JTypeVar |
JDefinedClass.generify(String name)
|
JTypeVar |
JGenerifiable.generify(String name)
Adds a new type variable to this declaration. |
JTypeVar |
JDefinedClass.generify(String name,
Class<?> bound)
|
JTypeVar |
JGenerifiable.generify(String name,
Class<?> bound)
Adds a new type variable to this declaration with a bound. |
JTypeVar |
JDefinedClass.generify(String name,
JClass bound)
|
JTypeVar |
JGenerifiable.generify(String name,
JClass bound)
Adds a new type variable to this declaration with a bound. |
JTypeVar[] |
JClass.typeParams()
Iterates all the type parameters of this class/interface. |
JTypeVar[] |
JDefinedClass.typeParams()
|
JTypeVar[] |
JGenerifiable.typeParams()
Iterates all the type parameters of this class/interface. |
| Methods in com.sun.codemodel with parameters of type JTypeVar | |
|---|---|
protected abstract JClass |
JClass.substituteParams(JTypeVar[] variables,
List<JClass> bindings)
Substitutes the type variables with their actual arguments. |
protected JClass |
JDefinedClass.substituteParams(JTypeVar[] variables,
List<JClass> bindings)
|
protected JClass |
JNullType.substituteParams(JTypeVar[] variables,
List<JClass> bindings)
|
protected JClass |
JTypeVar.substituteParams(JTypeVar[] variables,
List<JClass> bindings)
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||