Module org.eclipse.xtend.lib.macro
Interface ResolvedTypeParameter
public interface ResolvedTypeParameter
The resolved representation of a type parameter in the context of a type
reference. Consider for instance this method:
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-
Method Summary
-
Method Details
-
getDeclaration
TypeParameterDeclaration getDeclaration()- Returns:
- the declaration that is
resolved
-
getResolvedUpperBounds
Iterable<? extends TypeReference> getResolvedUpperBounds()- Returns:
- the
resolvedupper bounds
-