Package com.sun.codemodel
Class JGenerifiableImpl
java.lang.Object
com.sun.codemodel.JGenerifiableImpl
- All Implemented Interfaces:
JDeclaration
,JGenerifiable
- Direct Known Subclasses:
JMethod
Implementation of
JGenerifiable
.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds a new type variable to this declaration.Adds a new type variable to this declaration with a bound.Adds a new type variable to this declaration with a bound.protected abstract JCodeModel
owner()
JTypeVar[]
Iterates all the type parameters of this class/interface.
-
Field Details
-
typeVariables
Lazily created list ofJTypeVar
s.
-
-
Constructor Details
-
JGenerifiableImpl
JGenerifiableImpl()
-
-
Method Details
-
owner
-
declare
- Specified by:
declare
in interfaceJDeclaration
-
generify
Description copied from interface:JGenerifiable
Adds a new type variable to this declaration.- Specified by:
generify
in interfaceJGenerifiable
-
generify
Description copied from interface:JGenerifiable
Adds a new type variable to this declaration with a bound.- Specified by:
generify
in interfaceJGenerifiable
-
generify
Description copied from interface:JGenerifiable
Adds a new type variable to this declaration with a bound.- Specified by:
generify
in interfaceJGenerifiable
-
typeParams
Description copied from interface:JGenerifiable
Iterates all the type parameters of this class/interface.- Specified by:
typeParams
in interfaceJGenerifiable
-