Modifier and Type | Method and Description |
---|---|
static JShell.Builder |
JShell.builder()
Factory method for
JShell.Builder which, in-turn, is used
for creating instances of JShell . |
JShell.Builder |
JShell.Builder.err(PrintStream err)
Sets the error output for the running evaluation (it's
System.err ). |
JShell.Builder |
JShell.Builder.executionEngine(jdk.jshell.spi.ExecutionControl execEngine)
Sets the custom engine for execution.
|
JShell.Builder |
JShell.Builder.idGenerator(BiFunction<Snippet,Integer,String> generator)
Sets the generator of identifying names for Snippets.
|
JShell.Builder |
JShell.Builder.in(InputStream in)
Sets the input for the running evaluation (it's
System.in ). |
JShell.Builder |
JShell.Builder.out(PrintStream out)
Sets the output for the running evaluation (it's
System.out ). |
JShell.Builder |
JShell.Builder.remoteVMOptions(String... options)
Sets additional VM options for launching the VM.
|
JShell.Builder |
JShell.Builder.tempVariableNameGenerator(Supplier<String> generator)
Sets a generator of temp variable names for
VarSnippet of
Snippet.SubKind.TEMP_VAR_EXPRESSION_SUBKIND . |
Copyright © 2015, 2016, Oracle and/or its affiliates. All rights reserved.
DRAFT 9-internal+0-2016-06-25-232344.buildd.src