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 Details

    • getDeclaration

      ExecutableDeclaration getDeclaration()
      Returns:
      the executable that is resolved
    • getResolvedParameters

      Iterable<? extends ResolvedParameter> getResolvedParameters()
      Returns:
      the resolved parameters
    • getResolvedExceptionTypes

      Iterable<? extends TypeReference> getResolvedExceptionTypes()
      Returns:
      the resolved exceptions
    • getSimpleSignature

      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:
      the simple, human-readable signature
    • getResolvedErasureSignature

      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:
      resolved erasure signature
      Since:
      2.14