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 |
|---|---|
| public TypeParameterDeclaration | |
| public Iterable |
| getDeclaration | back to summary |
|---|---|
public TypeParameterDeclaration getDeclaration()
| |
| getResolvedUpperBounds | back to summary |
|---|---|
public Iterable
| |