Package org.jboss.jdeparser
Interface JGenericDef
- All Known Subinterfaces:
JAnonymousClassDef
,JClassDef
,JMethodDef
public interface JGenericDef
A generic type or method definition.
- Author:
- David M. Lloyd
-
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
-