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 Detail

      • getResolvedParameters

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

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

        java.lang.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

        java.lang.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