JDefinedClass
, JMethod
public interface JGenerifiable
Modifier and Type | Method | Description |
---|---|---|
JTypeVar |
generify(String name) |
Adds a new type variable to this declaration.
|
JTypeVar |
generify(String name,
JClass bound) |
Adds a new type variable to this declaration with a bound.
|
JTypeVar |
generify(String name,
Class<?> 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(String name, Class<?> bound)
JTypeVar generify(String name, JClass bound)
JTypeVar[] typeParams()
Copyright © 2018 Oracle Corporation. All rights reserved.