Module org.eclipse.xtend.lib.macro
Interface ResolvedExecutable
- All Known Subinterfaces:
ResolvedConstructor,ResolvedMethod
public interface ResolvedExecutable
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 TypeMethodDescriptionReturns the resolved erased signature of this feature.Iterable<? extends TypeReference> Iterable<? extends ResolvedParameter> Returns the simple signature of this executable.
-
Method Details
-
getDeclaration
ExecutableDeclaration getDeclaration()- Returns:
- the executable that is
resolved
-
getResolvedParameters
Iterable<? extends ResolvedParameter> getResolvedParameters()- Returns:
- the
resolvedparameters
-
getResolvedExceptionTypes
Iterable<? extends TypeReference> getResolvedExceptionTypes()- Returns:
- the
resolvedexceptions
-
getSimpleSignature
String getSimpleSignature()Returns the simple signature of this executable. The simple signature ofList<String>.addAll(int, Collection<E>)isaddAll(int, Collection<String>).- Returns:
- the simple, human-readable signature
-
getResolvedErasureSignature
String getResolvedErasureSignature()Returns the resolved erased signature of this feature. The resolved representation ofList<String>.addAll(int,java.util.Collection<E>)isaddAll(int,Collection).- Returns:
- resolved erasure signature
- Since:
- 2.14
-