Package | Description |
---|---|
com.sun.codemodel |
Library for generating Java source code
|
Modifier and Type | Field and Description |
---|---|
protected static JTypeVar[] |
JClass.EMPTY_ARRAY
Sometimes useful reusable empty array.
|
Modifier and Type | Method and Description |
---|---|
JTypeVar |
JTypeVar.bound(JClass c)
Adds a bound to this variable.
|
JTypeVar |
JGenerifiable.generify(String name)
Adds a new type variable to this declaration.
|
JTypeVar |
JDefinedClass.generify(String name) |
JTypeVar |
JGenerifiable.generify(String name,
Class<?> bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
JDefinedClass.generify(String name,
Class<?> bound) |
JTypeVar |
JGenerifiable.generify(String name,
JClass bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
JDefinedClass.generify(String name,
JClass bound) |
JTypeVar[] |
JGenerifiable.typeParams()
Iterates all the type parameters of this class/interface.
|
JTypeVar[] |
JDefinedClass.typeParams() |
JTypeVar[] |
JClass.typeParams()
Iterates all the type parameters of this class/interface.
|
Modifier and Type | Method and Description |
---|---|
protected JClass |
JTypeVar.substituteParams(JTypeVar[] variables,
List<JClass> bindings) |
protected JClass |
JNullType.substituteParams(JTypeVar[] variables,
List<JClass> bindings) |
protected JClass |
JDefinedClass.substituteParams(JTypeVar[] variables,
List<JClass> bindings) |
protected abstract JClass |
JClass.substituteParams(JTypeVar[] variables,
List<JClass> bindings)
Substitutes the type variables with their actual arguments.
|
Copyright © 2018 JBoss by Red Hat. All rights reserved.