44. #jdt_jshell Question: https://sli.do/
コード補完/シグネチャ/Javadoc表示
jshell> IntStream.range([Tab]
n number
Signatures:
IntStream IntStream.range(int startInclusive, int endExclusive)
<press tab again to see documentation>
jshell> IntStream.range([Tab]
IntStream IntStream.range(int startInclusive, int endExclusive)
Returns a sequential ordered IntStream from startInclusive (inclusive) to endExclusive
(exclusive) by an incremental step of 1 .
Parameters:
startInclusive - the (inclusive) initial value
endExclusive - the exclusive upper bound
Returns:
a sequential IntStream for the range of int elements
<press tab again to see all possible completions; total possible completions: 546>
jshell> IntStream.range([Tab]
AbstractCollection AbstractExecutorService
AbstractList AbstractMap AbstractMethodError
候補とシグネチャ
Javadoc
すべての候補
47. #jdt_jshell Question: https://sli.do/
JShellの仕組み
JShell Tooljline
int a = 0
a ==> 0
JShell Core Impl
JShellAPI
Is Complete?
Completion
Documentation
Eval & Result
Jdi
ExecutionControl
Compiler(javac)
Remote
ExecutionControl
JVM
int a = 0
Compiler API
SPI
JDPA
JDI