com.sun.codemodel
public interface JGenerifiable
Modifier and Type | Method and Description |
---|---|
JTypeVar |
generify(java.lang.String name)
Adds a new type variable to this declaration.
|
JTypeVar |
generify(java.lang.String name,
java.lang.Class bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
generify(java.lang.String name,
JClass bound)
Adds a new type variable to this declaration with a bound.
|
JTypeVar[] |
typeParams()
Iterates all the type parameters of this class/interface.
|
JTypeVar generify(java.lang.String name)
JTypeVar generify(java.lang.String name, java.lang.Class bound)
JTypeVar generify(java.lang.String name, JClass bound)
JTypeVar[] typeParams()
Copyright © 2005-2014 Sun Microsystems. All Rights Reserved.