abstract class AbstractJGeneric extends BasicJAnnotatable implements JGenericDef
| Modifier and Type | Field and Description |
|---|---|
private java.util.ArrayList<ImplJTypeParamDef> |
typeParamDefs |
| Constructor and Description |
|---|
AbstractJGeneric() |
| Modifier and Type | Method and Description |
|---|---|
private ImplJTypeParamDef |
add(ImplJTypeParamDef item) |
JTypeParamDef |
typeParam(java.lang.String name)
Define a type parameter.
|
JTypeParamDef[] |
typeParams()
Get all the type parameters defined at the time of invocation.
|
(package private) JType[] |
typeParamsToArgs() |
(package private) void |
writeTypeParams(SourceFileWriter sourceFileWriter) |
annotate, annotate, annotate, writeAnnotationsdeprecated, docComment, writeDocCommentsblockComment, lineComment, writeCommentsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitblockComment, lineCommentprivate java.util.ArrayList<ImplJTypeParamDef> typeParamDefs
private ImplJTypeParamDef add(ImplJTypeParamDef item)
public JTypeParamDef typeParam(java.lang.String name)
JGenericDeftypeParam in interface JGenericDefname - the type parameter namepublic JTypeParamDef[] typeParams()
JGenericDeftypeParams in interface JGenericDefJType[] typeParamsToArgs()
void writeTypeParams(SourceFileWriter sourceFileWriter) throws java.io.IOException
java.io.IOException