Interface ExprMirror.InvocationMirror

    • Method Detail

      • getAccessibleCandidates

        Iterable<JMethodSig> getAccessibleCandidates()
        Enumerates *accessible* method (or ctor) signatures with *the same name* as this invocation. Name and accessibility will not be checked later. The details on how to determine this are here: https://docs.oracle.com/javase/specs/jls/se9/html/jls-15.html#jls-15.12.1
      • getErasedReceiverType

        default @Nullable JTypeMirror getErasedReceiverType()
        Returns the erased receiver type. This is only used to adapt the Object::getClass method, other types of invocations don't need to implement this.
      • getReceiverType

        @Nullable JTypeMirror getReceiverType()
        Returns the erased receiver type. This is only used for method invocations.
      • getExplicitTypeArguments

        List<JTypeMirror> getExplicitTypeArguments()
        Returns the explicit type arguments, eg in Arrays.<String>asList("q"), or new <String> Foo("q"). If none are mentioned, returns an empty list.
      • getArgumentExpressions

        List<ExprMirror> getArgumentExpressions()
        Returns the expressions corresponding to the arguments of the call.
      • getArgumentCount

        int getArgumentCount()