Class J.MethodInvocation

    • Constructor Detail

      • MethodInvocation

        public MethodInvocation()
    • Method Detail

      • getSelect

        @Nullable
        public @Nullable Expression getSelect()
      • getTypeParameters

        @Nullable
        public @Nullable java.util.List<Expression> getTypeParameters()
      • getArguments

        public java.util.List<Expression> getArguments()
      • getReturnType

        @Nullable
        public @Nullable JavaType getReturnType()
      • getSimpleName

        public java.lang.String getSimpleName()
      • getSideEffects

        public java.util.List<J> getSideEffects()
        Specified by:
        getSideEffects in interface Expression
        Returns:
        A list of the side effects emitted by the statement, if the statement was decomposed. So for a binary operation, there are up to two potential side effects (the left and right side) and as few as zero if both sides of the expression are something like constants or variable references.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object