public interface ResolvedTypeParameter
interface Foo<T> {
def <U extends T> void foo(U arg)
}
For a Foo<CharSequence>, the type parameter U
would have the upper bound CharSequence| Modifier and Type | Method and Description |
|---|---|
TypeParameterDeclaration |
getDeclaration() |
java.lang.Iterable<? extends TypeReference> |
getResolvedUpperBounds() |
TypeParameterDeclaration getDeclaration()
resolvedjava.lang.Iterable<? extends TypeReference> getResolvedUpperBounds()
resolved upper bounds