Modifier and Type | Method and Description |
---|---|
JTypeParamDef |
JTypeParamDef._extends(Class<?> type)
Add an
extends bound to this parameter. |
JTypeParamDef |
JTypeParamDef._extends(JType type)
Add an
extends bound to this parameter. |
JTypeParamDef |
JTypeParamDef._extends(String type)
Add an
extends bound to this parameter. |
JTypeParamDef |
JTypeParamDef._super(Class<?> type)
Add a
super bound to this parameter. |
JTypeParamDef |
JTypeParamDef._super(JType type)
Add a
super bound to this parameter. |
JTypeParamDef |
JTypeParamDef._super(String type)
Add a
super bound to this parameter. |
JTypeParamDef |
JGenericDef.typeParam(String name)
Define a type parameter.
|
JTypeParamDef[] |
JGenericDef.typeParams()
Get all the type parameters defined at the time of invocation.
|
Copyright © 2019 JBoss by Red Hat. All rights reserved.