Package com.sun.codemodel
Interface JGenerifiable
- All Known Implementing Classes:
JDefinedClass
,JMethod
public interface JGenerifiable
Declarations that can have type variables.
Something that can be made into a generic.
- Author:
- Kohsuke Kawaguchi ([email protected])
-
Method Summary
Modifier and TypeMethodDescriptionAdds 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.JTypeVar[]
Iterates all the type parameters of this class/interface.
-
Method Details
-
generify
Adds a new type variable to this declaration. -
generify
Adds a new type variable to this declaration with a bound. -
generify
Adds a new type variable to this declaration with a bound. -
typeParams
JTypeVar[] typeParams()Iterates all the type parameters of this class/interface.
-