Interface ResolvedExecutable
-
- All Known Subinterfaces:
ResolvedConstructor,ResolvedMethod
public interface ResolvedExecutableResolved representation of anExecutableDeclaration. Parameter types and declared exceptions are put into the context of a specific declaring reference, e.g.List#add(Object)becomesList#add(String)in the context of anArrayList<String>- Since:
- 2.7
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExecutableDeclarationgetDeclaration()java.lang.StringgetResolvedErasureSignature()Returns the resolved erased signature of this feature.java.lang.Iterable<? extends TypeReference>getResolvedExceptionTypes()java.lang.Iterable<? extends ResolvedParameter>getResolvedParameters()java.lang.StringgetSimpleSignature()Returns the simple signature of this executable.
-
-
-
Method Detail
-
getDeclaration
ExecutableDeclaration getDeclaration()
- Returns:
- the executable that is
resolved
-
getResolvedParameters
java.lang.Iterable<? extends ResolvedParameter> getResolvedParameters()
- Returns:
- the
resolvedparameters
-
getResolvedExceptionTypes
java.lang.Iterable<? extends TypeReference> getResolvedExceptionTypes()
- Returns:
- the
resolvedexceptions
-
getSimpleSignature
java.lang.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
java.lang.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
-
-