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() |
Iterable<? extends TypeReference> |
getResolvedUpperBounds() |
TypeParameterDeclaration getDeclaration()
resolvedIterable<? extends TypeReference> getResolvedUpperBounds()
resolved upper boundsCopyright © 2015. All Rights Reserved.