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 TypeMethodDescriptionvoidAdds 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 JCodeModelowner()JTypeVar[]Iterates all the type parameters of this class/interface.
-
Field Details
-
typeVariables
-
-
Constructor Details
-
JGenerifiableImpl
JGenerifiableImpl()
-
-
Method Details
-
owner
-
declare
- Specified by:
declarein interfaceJDeclaration
-
generify
Description copied from interface:JGenerifiableAdds a new type variable to this declaration.- Specified by:
generifyin interfaceJGenerifiable
-
generify
Description copied from interface:JGenerifiableAdds a new type variable to this declaration with a bound.- Specified by:
generifyin interfaceJGenerifiable
-
generify
Description copied from interface:JGenerifiableAdds a new type variable to this declaration with a bound.- Specified by:
generifyin interfaceJGenerifiable
-
typeParams
Description copied from interface:JGenerifiableIterates all the type parameters of this class/interface.- Specified by:
typeParamsin interfaceJGenerifiable
-