Skip to content

Commit 8ff4804

Browse files
gselzerclaude
andcommitted
Simplify javadoc
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
1 parent 40866a5 commit 8ff4804

1 file changed

Lines changed: 4 additions & 8 deletions

File tree

‎code-lsp/src/main/java/org/scijava/code/lsp/Environment.java‎

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,7 @@
3838

3939

4040
/**
41-
* Where a script will run, as far as analyzing it needs to know: the
42-
* interpreter (or other executable) that runs it, extra places its imports are
43-
* resolved from, and, for code typed into a running interpreter, that
44-
* interpreter's state. Every part is optional.
41+
* The context needed to analyze a block of code.
4542
* <p>
4643
* Server processes are kept one per environment (see
4744
* {@link LanguageServerService#launch}): e.g. jedi-language-server learns the
@@ -60,10 +57,9 @@ public final class Environment {
6057
private final ScriptContext live;
6158

6259
/**
63-
* @param interpreter Path of the interpreter or executable, or null.
64-
* @param paths Extra places imports are resolved from, in order; see
65-
* {@link #paths()}.
66-
* @param live A running interpreter's state, or null.
60+
* @param interpreter Path of the interpreter or executable parsing the code.
61+
* @param paths Extra places imports are resolved from, in order. Language-dependent.
62+
* @param live Existing state (e.g. from a REPL)
6763
*/
6864
public Environment(final String interpreter, final List<String> paths,
6965
final ScriptContext live)

0 commit comments

Comments
 (0)