Interface JCall

    • Method Detail

      • diamond

        JCall diamond()
        Use the "diamond" <> syntax to specify inferred type arguments.
        Returns:
        this call
      • typeArg

        JCall typeArg​(JType type)
        Add a type argument to this call.
        Parameters:
        type - the type to add
        Returns:
        this call
      • typeArg

        JCall typeArg​(java.lang.String type)
        Add a type argument to this call.
        Parameters:
        type - the type to add
        Returns:
        this call
      • typeArg

        JCall typeArg​(java.lang.Class<?> type)
        Add a type argument to this call.
        Parameters:
        type - the type to add
        Returns:
        this call
      • arg

        JCall arg​(JExpr expr)
        Add an actual parameter argument to this call.
        Specified by:
        arg in interface JSimpleArgs
        Parameters:
        expr - the argument expression
        Returns:
        this call
      • typeArguments

        JType[] typeArguments()
        Get the type arguments defined thus far.
        Returns:
        the type arguments
      • arguments

        JExpr[] arguments()
        Description copied from interface: JSimpleArgs
        Get the arguments defined thus far.
        Specified by:
        arguments in interface JSimpleArgs
        Returns:
        the arguments