JGenerifiable.
| Modifier and Type | Field and Description |
|---|---|
| private List | typeVariables
Lazily created list of |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public JTypeVar | generify(String name)
Implements com. Adds a new type variable to this declaration. |
| public JTypeVar | generify(String name, Class<?> bound)
Implements com. Adds a new type variable to this declaration with a bound. |
| public JTypeVar | generify(String name, JClass bound)
Implements com. Adds a new type variable to this declaration with a bound. |
| protected abstract JCodeModel | |
| public JTypeVar[] | typeParams()
Implements com. Iterates all the type parameters of this class/interface. |
| typeVariables | back to summary |
|---|---|
| private List<JTypeVar> typeVariables Lazily created list of | |
| JGenerifiableImpl | back to summary |
|---|---|
| pack-priv JGenerifiableImpl() | |
| declare | back to summary |
|---|---|
| public void declare(JFormatter f) Implements com.
| |
| generify | back to summary |
|---|---|
| public JTypeVar generify(String name) Implements com. Doc from com. Adds a new type variable to this declaration.
| |
| generify | back to summary |
|---|---|
| public JTypeVar generify(String name, Class<?> bound) Implements com. Doc from com. Adds a new type variable to this declaration with a bound.
| |
| generify | back to summary |
|---|---|
| public JTypeVar generify(String name, JClass bound) Implements com. Doc from com. Adds a new type variable to this declaration with a bound.
| |
| owner | back to summary |
|---|---|
| protected abstract JCodeModel owner() | |
| typeParams | back to summary |
|---|---|
| public JTypeVar[] typeParams() Implements com. Doc from com. Iterates all the type parameters of this class/interface.
| |