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

public Interface ResolvedExecutable

Known Direct Subinterfaces
org.eclipse.xtend.lib.macro.declaration.ResolvedMethod, org.eclipse.xtend.lib.macro.declaration.ResolvedConstructor
Imports
java.util.ArrayList, .List

Resolved representation of an ExecutableDeclaration. Parameter types and declared exceptions are put into the context of a specific declaring reference, e.g. List#add(Object) becomes List#add(String) in the context of an ArrayList<String>
Since
2.7

Method Summary

Modifier and TypeMethod and Description
public ExecutableDeclaration

Returns:

the executable that is resolved
getDeclaration
()

public String

Returns:

resolved erasure signature
getResolvedErasureSignature
()

Returns the resolved erased signature of this feature.

public Iterable<? extends TypeReference>

Returns:

the resolved exceptions
getResolvedExceptionTypes
()

public Iterable<? extends ResolvedParameter>

Returns:

the resolved parameters
getResolvedParameters
()

public String

Returns:

the simple, human-readable signature
getSimpleSignature
()

Returns the simple signature of this executable.

Method Detail

getDeclarationback to summary
public ExecutableDeclaration getDeclaration()
Returns:ExecutableDeclaration

the executable that is resolved

getResolvedErasureSignatureback to summary
public String getResolvedErasureSignature()

Returns the resolved erased signature of this feature. The resolved representation of List<String>.addAll(int,java.util.Collection<E>) is addAll(int,Collection).

Returns:String

resolved erasure signature

Since
2.14
getResolvedExceptionTypesback to summary
public Iterable<? extends TypeReference> getResolvedExceptionTypes()
Returns:Iterable<? extends TypeReference>

the resolved exceptions

getResolvedParametersback to summary
public Iterable<? extends ResolvedParameter> getResolvedParameters()
Returns:Iterable<? extends ResolvedParameter>

the resolved parameters

getSimpleSignatureback to summary
public String getSimpleSignature()

Returns the simple signature of this executable. The simple signature of List<String>.addAll(int, Collection<E>) is addAll(int, Collection<String>).

Returns:String

the simple, human-readable signature