Package org.jboss.jdeparser
Interface JGenericDef
- All Known Subinterfaces:
JAnonymousClassDef
,JClassDef
,JMethodDef
- All Known Implementing Classes:
AbstractJClassDef
,AbstractJGeneric
,AbstractJMethodDef
,AnnotationJClassDef
,AnnotationJMethodDef
,AnonymousJClassDef
,ConstructorJMethodDef
,EnumConstantJClassDef
,EnumJClassDef
,ImplJAnonymousClassDef
,InnerJAnonymousClassDef
,InterfaceJClassDef
,MethodJMethodDef
,PlainJClassDef
public interface JGenericDef
A generic type or method definition.
-
Method Summary
Modifier and TypeMethodDescriptionDefine a type parameter.Get all the type parameters defined at the time of invocation.
-
Method Details
-
typeParam
Define a type parameter.- Parameters:
name
- the type parameter name- Returns:
- the type parameter definition
-
typeParams
JTypeParamDef[] typeParams()Get all the type parameters defined at the time of invocation.- Returns:
- the type parameters
-