Package org.jboss.jdeparser
Class AbstractJGeneric
java.lang.Object
org.jboss.jdeparser.BasicJCommentable
org.jboss.jdeparser.AbstractJDocCommentable
org.jboss.jdeparser.BasicJAnnotatable
org.jboss.jdeparser.AbstractJGeneric
- All Implemented Interfaces:
JAnnotatable
,JCommentable
,JDocCommentable
,JGenericDef
- Direct Known Subclasses:
AbstractJClassDef
,AbstractJMethodDef
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate ImplJTypeParamDef
add
(ImplJTypeParamDef item) Define a type parameter.Get all the type parameters defined at the time of invocation.(package private) JType[]
(package private) void
writeTypeParams
(SourceFileWriter sourceFileWriter) Methods inherited from class org.jboss.jdeparser.BasicJAnnotatable
annotate, annotate, annotate, writeAnnotations
Methods inherited from class org.jboss.jdeparser.AbstractJDocCommentable
deprecated, docComment, writeDocComments
Methods inherited from class org.jboss.jdeparser.BasicJCommentable
blockComment, lineComment, writeComments
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.jboss.jdeparser.JCommentable
blockComment, lineComment
-
Field Details
-
typeParamDefs
-
-
Constructor Details
-
AbstractJGeneric
AbstractJGeneric()
-
-
Method Details
-
add
-
typeParam
Description copied from interface:JGenericDef
Define a type parameter.- Specified by:
typeParam
in interfaceJGenericDef
- Parameters:
name
- the type parameter name- Returns:
- the type parameter definition
-
typeParams
Description copied from interface:JGenericDef
Get all the type parameters defined at the time of invocation.- Specified by:
typeParams
in interfaceJGenericDef
- Returns:
- the type parameters
-
typeParamsToArgs
JType[] typeParamsToArgs() -
writeTypeParams
- Throws:
IOException
-