Top Description Methods
org.eclipse.xtend.lib.macro.declaration

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

Modifier and TypeMethod and Description
public TypeParameterDeclaration

Returns:

the declaration that is resolved
getDeclaration
()

public Iterable<? extends TypeReference>

Returns:

the resolved upper bounds
getResolvedUpperBounds
()

Method Detail

getDeclarationback to summary
public TypeParameterDeclaration getDeclaration()
Returns:TypeParameterDeclaration

the declaration that is resolved

getResolvedUpperBoundsback to summary
public Iterable<? extends TypeReference> getResolvedUpperBounds()
Returns:Iterable<? extends TypeReference>

the resolved upper bounds