インタフェースjdk.jshell.SourceCodeAnalysis.CompletionInfoの
使用
-
SourceCodeAnalysis.CompletionInfoを使用するパッケージ パッケージ 説明 jdk.jshell Javaプログラミング言語コードの"snippets"をインタラクティブに評価するRead-Eval-Printループ(REPL)などのツールを作成するためのインタフェースを提供します。 -
-
jdk.jshellでのSourceCodeAnalysis.CompletionInfoの使用
SourceCodeAnalysis.CompletionInfoを戻すjdk.jshellのメソッド 修飾子と型 メソッド 説明 abstract SourceCodeAnalysis.CompletionInfo
SourceCodeAnalysis. analyzeCompletion(String input)
入力文字列が与えられたら、コード(1つの文、定義、インポート、または式)の最初のスニペットを見つけ、それが完了しているかどうかを評価します。
-