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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description JTypeParamDef
typeParam(java.lang.String name)
Define a type parameter.JTypeParamDef[]
typeParams()
Get all the type parameters defined at the time of invocation.
-
-
-
Method Detail
-
typeParam
JTypeParamDef typeParam(java.lang.String name)
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
-
-