diff --git a/CHANGELOG.md b/CHANGELOG.md index c1f405d9c..5bf2976be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,20 +8,9 @@ Fixed issues: https://github.com/eclipse/lsp4j/milestone/15?closed=1 Breaking API changes: - * In DebugProtocol many fields which used to be defined as `Long` are now `Integer`. - This is due to changes in DAP 1.36 that clarified these values should be less - than or equal to 2147483647 (2^31 - 1) - - `OutputEventArguments`: `variablesReference` - - `RunInTerminalResponse`: `processId`, `shellProcessId` - - `DataBreakpointInfoArguments`: `variablesReference` - - `VariablesArguments`: `variablesReference` - - `SetVariableResponse`: `variablesReference`, `namedVariables`, `indexedVariables` - - `SetVariableArguments`: `variablesReference` - - `EvaluateResponse`: `variablesReference`, `namedVariables`, `indexedVariables` - - `SetExpressionResponse`: `variablesReference`, `namedVariables`, `indexedVariables` - - `Source`: `sourceReference` - - `Scope`: `variablesReference`, `namedVariables`, `indexedVariables` - - `Variable`: `variablesReference`, `namedVariables`, `indexedVariables` + * In DebugProtocol fields which used to be defined as `Long` are now `Integer`. + This is due to changes in DAP 1.36 and clarification sought from + https://github.com/microsoft/debug-adapter-protocol/issues/90 * The DebugProtocol's `EvaluateResponse`'s field `memoryReference` was previously incorrectly declared as `Long`, it is now correctly declared as `String` diff --git a/org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/DebugProtocol.xtend b/org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/DebugProtocol.xtend index c0df3cfdc..c5281858c 100644 --- a/org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/DebugProtocol.xtend +++ b/org.eclipse.lsp4j.debug/src/main/java/org/eclipse/lsp4j/debug/DebugProtocol.xtend @@ -59,7 +59,7 @@ class StoppedEventArguments { *

* This is an optional property. */ - Long threadId; + Integer threadId; /** * A value of true hints to the frontend that this event should not change the focus. *

@@ -119,7 +119,7 @@ class ContinuedEventArguments { * The thread which was continued. */ @NonNull - Long threadId; + Integer threadId; /** * If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued. *

@@ -137,7 +137,7 @@ class ExitedEventArguments { * The exit code returned from the debuggee. */ @NonNull - Long exitCode; + Integer exitCode; } /** @@ -174,7 +174,7 @@ class ThreadEventArguments { * The identifier of the thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -224,13 +224,13 @@ class OutputEventArguments { *

* This is an optional property. */ - Long line; + Integer line; /** * An optional source location column where the output was produced. *

* This is an optional property. */ - Long column; + Integer column; /** * Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other * categories the data is shown in JSON format. @@ -351,7 +351,7 @@ class ProcessEventArguments { *

* This is an optional property. */ - Long systemProcessId; + Integer systemProcessId; /** * If true, the process is running on the same computer as the debug adapter. *

@@ -370,7 +370,7 @@ class ProcessEventArguments { *

* This is an optional property. */ - Long pointerSize; + Integer pointerSize; } /** @@ -674,28 +674,28 @@ class BreakpointLocationsArguments { * the request returns all possible locations in that line. */ @NonNull - Long line; + Integer line; /** * Optional start column of range to search possible breakpoint locations in. If no start column is given, * the first column in the start line is assumed. *

* This is an optional property. */ - Long column; + Integer column; /** * Optional end line of range to search possible breakpoint locations in. If no end line is given, * then the end line is assumed to be the start line. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * Optional end column of range to search possible breakpoint locations in. If no end column is given, * then it is assumed to be in the last column of the end line. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; } /** @@ -740,7 +740,7 @@ class SetBreakpointsArguments { *

* This is an optional property. */ - Long[] lines; + Integer[] lines; /** * A value of true indicates that the underlying source has been modified which results in new breakpoint * locations. @@ -894,7 +894,7 @@ class ContinueArguments { * but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -906,7 +906,7 @@ class NextArguments { * Execute 'next' for this thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -918,13 +918,13 @@ class StepInArguments { * Execute 'stepIn' for this thread. */ @NonNull - Long threadId; + Integer threadId; /** * Optional id of the target to step into. *

* This is an optional property. */ - Long targetId; + Integer targetId; } /** @@ -936,7 +936,7 @@ class StepOutArguments { * Execute 'stepOut' for this thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -948,7 +948,7 @@ class StepBackArguments { * Execute 'stepBack' for this thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -960,7 +960,7 @@ class ReverseContinueArguments { * Execute 'reverseContinue' for this thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -972,7 +972,7 @@ class RestartFrameArguments { * Restart this stackframe. */ @NonNull - Long frameId; + Integer frameId; } /** @@ -984,12 +984,12 @@ class GotoArguments { * Set the goto target for this thread. */ @NonNull - Long threadId; + Integer threadId; /** * The location where the debuggee will continue to run. */ @NonNull - Long targetId; + Integer targetId; } /** @@ -1001,7 +1001,7 @@ class PauseArguments { * Pause execution for this thread. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -1021,7 +1021,7 @@ class StackTraceResponse { *

* This is an optional property. */ - Long totalFrames; + Integer totalFrames; } /** @@ -1033,19 +1033,19 @@ class StackTraceArguments { * Retrieve the stacktrace for this thread. */ @NonNull - Long threadId; + Integer threadId; /** * The index of the first frame to return; if omitted frames start at 0. *

* This is an optional property. */ - Long startFrame; + Integer startFrame; /** * The maximum number of frames to return. If levels is not specified or 0, all frames are returned. *

* This is an optional property. */ - Long levels; + Integer levels; /** * Specifies details on how to format the stack frames. *

@@ -1075,7 +1075,7 @@ class ScopesArguments { * Retrieve the scopes for this stackframe. */ @NonNull - Long frameId; + Integer frameId; } /** @@ -1111,13 +1111,13 @@ class VariablesArguments { *

* This is an optional property. */ - Long start; + Integer start; /** * The number of variables to return. If count is missing or 0, all variables are returned. *

* This is an optional property. */ - Long count; + Integer count; /** * Specifies details on how to format the Variable values. *

@@ -1239,7 +1239,7 @@ class SourceArguments { * compatibility since old backends do not understand the 'source' attribute. */ @NonNull - Long sourceReference; + Integer sourceReference; } /** @@ -1264,7 +1264,7 @@ class TerminateThreadsArguments { *

* This is an optional property. */ - Long[] threadIds; + Integer[] threadIds; } /** @@ -1282,7 +1282,7 @@ class ModulesResponse { *

* This is an optional property. */ - Long totalModules; + Integer totalModules; } /** @@ -1295,13 +1295,13 @@ class ModulesArguments { *

* This is an optional property. */ - Long startModule; + Integer startModule; /** * The number of modules to return. If moduleCount is not specified or 0, all modules are returned. *

* This is an optional property. */ - Long moduleCount; + Integer moduleCount; } /** @@ -1394,7 +1394,7 @@ class EvaluateArguments { *

* This is an optional property. */ - Long frameId; + Integer frameId; /** * The context in which the evaluate request is run. *

@@ -1502,7 +1502,7 @@ class SetExpressionArguments { *

* This is an optional property. */ - Long frameId; + Integer frameId; /** * Specifies how the resulting value should be formatted. *

@@ -1532,7 +1532,7 @@ class StepInTargetsArguments { * The stack frame for which to retrieve the possible stepIn targets. */ @NonNull - Long frameId; + Integer frameId; } /** @@ -1561,13 +1561,13 @@ class GotoTargetsArguments { * The line location for which the goto targets are determined. */ @NonNull - Long line; + Integer line; /** * An optional column location for which the goto targets are determined. *

* This is an optional property. */ - Long column; + Integer column; } /** @@ -1593,7 +1593,7 @@ class CompletionsArguments { *

* This is an optional property. */ - Long frameId; + Integer frameId; /** * One or more source lines. Typically this is the text a user has typed into the debug console before he asked * for completion. @@ -1604,14 +1604,14 @@ class CompletionsArguments { * The character position for which to determine the completion proposals. */ @NonNull - Long column; + Integer column; /** * An optional line for which to determine the completion proposals. If missing the first line of the text is * assumed. *

* This is an optional property. */ - Long line; + Integer line; } /** @@ -1652,7 +1652,7 @@ class ExceptionInfoArguments { * Thread for which exception information should be retrieved. */ @NonNull - Long threadId; + Integer threadId; } /** @@ -1672,7 +1672,7 @@ class ReadMemoryResponse { *

* This is an optional property. */ - Long unreadableBytes; + Integer unreadableBytes; /** * The bytes read from memory, encoded using base64. *

@@ -1696,13 +1696,13 @@ class ReadMemoryArguments { *

* This is an optional property. */ - Long offset; + Integer offset; /** * Number of bytes to read at the specified location and offset. *

* This is an optional property. */ - Long count; + Integer count; } /** @@ -1732,21 +1732,21 @@ class DisassembleArguments { *

* This is an optional property. */ - Long offset; + Integer offset; /** * Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be * negative. *

* This is an optional property. */ - Long instructionOffset; + Integer instructionOffset; /** * Number of instructions to disassemble starting at the specified location and offset. An adapter must return * exactly this number of instructions - any unavailable instructions should be replaced with an * implementation-defined 'invalid instruction' value. */ @NonNull - Long instructionCount; + Integer instructionCount; /** * If true, the adapter should attempt to resolve memory addresses and other values to symbolic names. *

@@ -1995,7 +1995,7 @@ class Message { * Unique identifier for the message. */ @NonNull - Long id; + Integer id; /** * A format string for the message. Embedded variables have the form '{name}'. *

@@ -2062,7 +2062,7 @@ class Module { * Unique identifier for the module. */ @NonNull - Either id; + Either id; /** * A name of the module. */ @@ -2161,7 +2161,7 @@ class ColumnDescriptor { *

* This is an optional property. */ - Long width; + Integer width; } /** @@ -2198,7 +2198,7 @@ class Thread { * Unique identifier for the thread. */ @NonNull - Long id; + Integer id; /** * A name of the thread. */ @@ -2290,7 +2290,7 @@ class StackFrame { * scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe. */ @NonNull - Long id; + Integer id; /** * The name of the stack frame, typically a method name. */ @@ -2306,24 +2306,24 @@ class StackFrame { * The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored. */ @NonNull - Long line; + Integer line; /** * The column within the line. If source is null or doesn't exist, column is 0 and must be ignored. */ @NonNull - Long column; + Integer column; /** * An optional end line of the range covered by the stack frame. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * An optional end column of the range covered by the stack frame. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; /** * Optional memory reference for the current instruction pointer in this frame. *

@@ -2335,7 +2335,7 @@ class StackFrame { *

* This is an optional property. */ - Either moduleId; + Either moduleId; /** * An optional hint for how to present this frame in the UI. A value of 'label' can be used to indicate that the * frame is an artificial frame that is used as a visual label or separator. A value of 'subtle' can be used to @@ -2415,25 +2415,25 @@ class Scope { *

* This is an optional property. */ - Long line; + Integer line; /** * Optional start column of the range covered by this scope. *

* This is an optional property. */ - Long column; + Integer column; /** * Optional end line of the range covered by this scope. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * Optional end column of the range covered by this scope. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; } /** @@ -2678,25 +2678,25 @@ class BreakpointLocation { * Start line of breakpoint location. */ @NonNull - Long line; + Integer line; /** * Optional start column of breakpoint location. *

* This is an optional property. */ - Long column; + Integer column; /** * Optional end line of breakpoint location if the location covers a range. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * Optional end column of breakpoint location if the location covers a range. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; } /** @@ -2708,13 +2708,13 @@ class SourceBreakpoint { * The source line of the breakpoint or logpoint. */ @NonNull - Long line; + Integer line; /** * An optional source column of the breakpoint. *

* This is an optional property. */ - Long column; + Integer column; /** * An optional expression for conditional breakpoints. *

@@ -2814,7 +2814,7 @@ class Breakpoint { *

* This is an optional property. */ - Long id; + Integer id; /** * If true breakpoint could be set (but not necessarily at the desired location). */ @@ -2838,26 +2838,26 @@ class Breakpoint { *

* This is an optional property. */ - Long line; + Integer line; /** * An optional start column of the actual range covered by the breakpoint. *

* This is an optional property. */ - Long column; + Integer column; /** * An optional end line of the actual range covered by the breakpoint. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end * column is assumed to be in the start line. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; } /** @@ -2870,7 +2870,7 @@ class StepInTarget { * Unique identifier for a stepIn target. */ @NonNull - Long id; + Integer id; /** * The name of the stepIn target (shown in the UI). */ @@ -2889,7 +2889,7 @@ class GotoTarget { * Unique identifier for a goto target. This is used in the goto request. */ @NonNull - Long id; + Integer id; /** * The name of the goto target (shown in the UI). */ @@ -2899,25 +2899,25 @@ class GotoTarget { * The line of the goto target. */ @NonNull - Long line; + Integer line; /** * An optional column of the goto target. *

* This is an optional property. */ - Long column; + Integer column; /** * An optional end line of the range covered by the goto target. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * An optional end column of the range covered by the goto target. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; /** * Optional memory reference for the instruction pointer value represented by this target. *

@@ -2963,7 +2963,7 @@ class CompletionItem { *

* This is an optional property. */ - Long start; + Integer start; /** * This value determines how many characters are overwritten by the completion text. *

@@ -2971,7 +2971,7 @@ class CompletionItem { *

* This is an optional property. */ - Long length; + Integer length; } /** @@ -3233,23 +3233,23 @@ class DisassembledInstruction { *

* This is an optional property. */ - Long line; + Integer line; /** * The column within the line that corresponds to this instruction, if any. *

* This is an optional property. */ - Long column; + Integer column; /** * The end line of the range that corresponds to this instruction, if any. *

* This is an optional property. */ - Long endLine; + Integer endLine; /** * The end column of the range that corresponds to this instruction, if any. *

* This is an optional property. */ - Long endColumn; + Integer endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Breakpoint.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Breakpoint.java index ddf8ff5d9..e71001863 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Breakpoint.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Breakpoint.java @@ -28,7 +28,7 @@ public class Breakpoint { *

* This is an optional property. */ - private Long id; + private Integer id; /** * If true breakpoint could be set (but not necessarily at the desired location). @@ -56,21 +56,21 @@ public class Breakpoint { *

* This is an optional property. */ - private Long line; + private Integer line; /** * An optional start column of the actual range covered by the breakpoint. *

* This is an optional property. */ - private Long column; + private Integer column; /** * An optional end line of the actual range covered by the breakpoint. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * An optional end column of the actual range covered by the breakpoint. If no end line is given, then the end @@ -78,7 +78,7 @@ public class Breakpoint { *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * An optional unique identifier for the breakpoint. It is needed if breakpoint events are used to update or remove @@ -87,7 +87,7 @@ public class Breakpoint { * This is an optional property. */ @Pure - public Long getId() { + public Integer getId() { return this.id; } @@ -97,7 +97,7 @@ public Long getId() { *

* This is an optional property. */ - public void setId(final Long id) { + public void setId(final Integer id) { this.id = id; } @@ -163,7 +163,7 @@ public void setSource(final Source source) { * This is an optional property. */ @Pure - public Long getLine() { + public Integer getLine() { return this.line; } @@ -172,7 +172,7 @@ public Long getLine() { *

* This is an optional property. */ - public void setLine(final Long line) { + public void setLine(final Integer line) { this.line = line; } @@ -182,7 +182,7 @@ public void setLine(final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -191,7 +191,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -201,7 +201,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -210,7 +210,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -221,7 +221,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -231,7 +231,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointEventArgumentsReason.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointEventArgumentsReason.java index 675ef384c..22cad395d 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointEventArgumentsReason.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointEventArgumentsReason.java @@ -18,9 +18,9 @@ */ @SuppressWarnings("all") public interface BreakpointEventArgumentsReason { - public static final String CHANGED = "changed"; + static final String CHANGED = "changed"; - public static final String NEW = "new"; + static final String NEW = "new"; - public static final String REMOVED = "removed"; + static final String REMOVED = "removed"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocation.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocation.java index 6ff65077d..906fcf40c 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocation.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocation.java @@ -25,42 +25,42 @@ public class BreakpointLocation { * Start line of breakpoint location. */ @NonNull - private Long line; + private Integer line; /** * Optional start column of breakpoint location. *

* This is an optional property. */ - private Long column; + private Integer column; /** * Optional end line of breakpoint location if the location covers a range. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * Optional end column of breakpoint location if the location covers a range. *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * Start line of breakpoint location. */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } /** * Start line of breakpoint location. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -70,7 +70,7 @@ public void setLine(@NonNull final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -79,7 +79,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -89,7 +89,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -98,7 +98,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -108,7 +108,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -117,7 +117,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocationsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocationsArguments.java index 885b49ae0..d8da4d5cd 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocationsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/BreakpointLocationsArguments.java @@ -33,7 +33,7 @@ public class BreakpointLocationsArguments { * the request returns all possible locations in that line. */ @NonNull - private Long line; + private Integer line; /** * Optional start column of range to search possible breakpoint locations in. If no start column is given, @@ -41,7 +41,7 @@ public class BreakpointLocationsArguments { *

* This is an optional property. */ - private Long column; + private Integer column; /** * Optional end line of range to search possible breakpoint locations in. If no end line is given, @@ -49,7 +49,7 @@ public class BreakpointLocationsArguments { *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * Optional end column of range to search possible breakpoint locations in. If no end column is given, @@ -57,7 +57,7 @@ public class BreakpointLocationsArguments { *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * The source location of the breakpoints; either 'source.path' or 'source.reference' must be specified. @@ -81,7 +81,7 @@ public void setSource(@NonNull final Source source) { */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } @@ -89,7 +89,7 @@ public Long getLine() { * Start line of range to search possible breakpoint locations in. If only the line is specified, * the request returns all possible locations in that line. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -100,7 +100,7 @@ public void setLine(@NonNull final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -110,7 +110,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -121,7 +121,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -131,7 +131,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -142,7 +142,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -152,7 +152,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ColumnDescriptor.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ColumnDescriptor.java index d1516034e..3a3538d34 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ColumnDescriptor.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ColumnDescriptor.java @@ -56,7 +56,7 @@ public class ColumnDescriptor { *

* This is an optional property. */ - private Long width; + private Integer width; /** * Name of the attribute rendered in this column. @@ -134,7 +134,7 @@ public void setType(final ColumnDescriptorType type) { * This is an optional property. */ @Pure - public Long getWidth() { + public Integer getWidth() { return this.width; } @@ -143,7 +143,7 @@ public Long getWidth() { *

* This is an optional property. */ - public void setWidth(final Long width) { + public void setWidth(final Integer width) { this.width = width; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionItem.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionItem.java index f8b8d6f93..8957ba3c5 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionItem.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionItem.java @@ -58,7 +58,7 @@ public class CompletionItem { *

* This is an optional property. */ - private Long start; + private Integer start; /** * This value determines how many characters are overwritten by the completion text. @@ -67,7 +67,7 @@ public class CompletionItem { *

* This is an optional property. */ - private Long length; + private Integer length; /** * The label of this completion item. By default this is also the text that is inserted when selecting this @@ -153,7 +153,7 @@ public void setType(final CompletionItemType type) { * This is an optional property. */ @Pure - public Long getStart() { + public Integer getStart() { return this.start; } @@ -165,7 +165,7 @@ public Long getStart() { *

* This is an optional property. */ - public void setStart(final Long start) { + public void setStart(final Integer start) { this.start = start; } @@ -177,7 +177,7 @@ public void setStart(final Long start) { * This is an optional property. */ @Pure - public Long getLength() { + public Integer getLength() { return this.length; } @@ -188,7 +188,7 @@ public Long getLength() { *

* This is an optional property. */ - public void setLength(final Long length) { + public void setLength(final Integer length) { this.length = length; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionsArguments.java index 04edcb1c6..db79edd05 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/CompletionsArguments.java @@ -27,7 +27,7 @@ public class CompletionsArguments { *

* This is an optional property. */ - private Long frameId; + private Integer frameId; /** * One or more source lines. Typically this is the text a user has typed into the debug console before he asked @@ -40,7 +40,7 @@ public class CompletionsArguments { * The character position for which to determine the completion proposals. */ @NonNull - private Long column; + private Integer column; /** * An optional line for which to determine the completion proposals. If missing the first line of the text is @@ -48,7 +48,7 @@ public class CompletionsArguments { *

* This is an optional property. */ - private Long line; + private Integer line; /** * Returns completions in the scope of this stack frame. If not specified, the completions are returned for the @@ -57,7 +57,7 @@ public class CompletionsArguments { * This is an optional property. */ @Pure - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } @@ -67,7 +67,7 @@ public Long getFrameId() { *

* This is an optional property. */ - public void setFrameId(final Long frameId) { + public void setFrameId(final Integer frameId) { this.frameId = frameId; } @@ -94,14 +94,14 @@ public void setText(@NonNull final String text) { */ @Pure @NonNull - public Long getColumn() { + public Integer getColumn() { return this.column; } /** * The character position for which to determine the completion proposals. */ - public void setColumn(@NonNull final Long column) { + public void setColumn(@NonNull final Integer column) { this.column = Preconditions.checkNotNull(column, "column"); } @@ -112,7 +112,7 @@ public void setColumn(@NonNull final Long column) { * This is an optional property. */ @Pure - public Long getLine() { + public Integer getLine() { return this.line; } @@ -122,7 +122,7 @@ public Long getLine() { *

* This is an optional property. */ - public void setLine(final Long line) { + public void setLine(final Integer line) { this.line = line; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinueArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinueArguments.java index 3c293d150..581e991ad 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinueArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinueArguments.java @@ -26,7 +26,7 @@ public class ContinueArguments { * but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true. */ @NonNull - private Long threadId; + private Integer threadId; /** * Continue execution for the specified thread (if possible). If the backend cannot continue on a single thread @@ -34,7 +34,7 @@ public class ContinueArguments { */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } @@ -42,7 +42,7 @@ public Long getThreadId() { * Continue execution for the specified thread (if possible). If the backend cannot continue on a single thread * but will continue on all threads, it should set the 'allThreadsContinued' attribute in the response to true. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinuedEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinuedEventArguments.java index 7aae3a0c5..0f11cd376 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinuedEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ContinuedEventArguments.java @@ -30,7 +30,7 @@ public class ContinuedEventArguments { * The thread which was continued. */ @NonNull - private Long threadId; + private Integer threadId; /** * If 'allThreadsContinued' is true, a debug adapter can announce that all threads have continued. @@ -44,14 +44,14 @@ public class ContinuedEventArguments { */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * The thread which was continued. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembleArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembleArguments.java index e17a43de1..eecc98197 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembleArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembleArguments.java @@ -32,7 +32,7 @@ public class DisassembleArguments { *

* This is an optional property. */ - private Long offset; + private Integer offset; /** * Optional offset (in instructions) to be applied after the byte offset (if any) before disassembling. Can be @@ -40,7 +40,7 @@ public class DisassembleArguments { *

* This is an optional property. */ - private Long instructionOffset; + private Integer instructionOffset; /** * Number of instructions to disassemble starting at the specified location and offset. An adapter must return @@ -48,7 +48,7 @@ public class DisassembleArguments { * implementation-defined 'invalid instruction' value. */ @NonNull - private Long instructionCount; + private Integer instructionCount; /** * If true, the adapter should attempt to resolve memory addresses and other values to symbolic names. @@ -79,7 +79,7 @@ public void setMemoryReference(@NonNull final String memoryReference) { * This is an optional property. */ @Pure - public Long getOffset() { + public Integer getOffset() { return this.offset; } @@ -88,7 +88,7 @@ public Long getOffset() { *

* This is an optional property. */ - public void setOffset(final Long offset) { + public void setOffset(final Integer offset) { this.offset = offset; } @@ -99,7 +99,7 @@ public void setOffset(final Long offset) { * This is an optional property. */ @Pure - public Long getInstructionOffset() { + public Integer getInstructionOffset() { return this.instructionOffset; } @@ -109,7 +109,7 @@ public Long getInstructionOffset() { *

* This is an optional property. */ - public void setInstructionOffset(final Long instructionOffset) { + public void setInstructionOffset(final Integer instructionOffset) { this.instructionOffset = instructionOffset; } @@ -120,7 +120,7 @@ public void setInstructionOffset(final Long instructionOffset) { */ @Pure @NonNull - public Long getInstructionCount() { + public Integer getInstructionCount() { return this.instructionCount; } @@ -129,7 +129,7 @@ public Long getInstructionCount() { * exactly this number of instructions - any unavailable instructions should be replaced with an * implementation-defined 'invalid instruction' value. */ - public void setInstructionCount(@NonNull final Long instructionCount) { + public void setInstructionCount(@NonNull final Integer instructionCount) { this.instructionCount = Preconditions.checkNotNull(instructionCount, "instructionCount"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembledInstruction.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembledInstruction.java index ae7ca8a0b..896008cb2 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembledInstruction.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/DisassembledInstruction.java @@ -62,28 +62,28 @@ public class DisassembledInstruction { *

* This is an optional property. */ - private Long line; + private Integer line; /** * The column within the line that corresponds to this instruction, if any. *

* This is an optional property. */ - private Long column; + private Integer column; /** * The end line of the range that corresponds to this instruction, if any. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * The end column of the range that corresponds to this instruction, if any. *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * The address of the instruction. Treated as a hex value if prefixed with '0x', or as a decimal value otherwise. @@ -184,7 +184,7 @@ public void setLocation(final Source location) { * This is an optional property. */ @Pure - public Long getLine() { + public Integer getLine() { return this.line; } @@ -193,7 +193,7 @@ public Long getLine() { *

* This is an optional property. */ - public void setLine(final Long line) { + public void setLine(final Integer line) { this.line = line; } @@ -203,7 +203,7 @@ public void setLine(final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -212,7 +212,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -222,7 +222,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -231,7 +231,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -241,7 +241,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -250,7 +250,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArguments.java index d154efff9..24c29b67e 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArguments.java @@ -34,7 +34,7 @@ public class EvaluateArguments { *

* This is an optional property. */ - private Long frameId; + private Integer frameId; /** * The context in which the evaluate request is run. @@ -75,7 +75,7 @@ public void setExpression(@NonNull final String expression) { * This is an optional property. */ @Pure - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } @@ -85,7 +85,7 @@ public Long getFrameId() { *

* This is an optional property. */ - public void setFrameId(final Long frameId) { + public void setFrameId(final Integer frameId) { this.frameId = frameId; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArgumentsContext.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArgumentsContext.java index f1818d927..6d4c242ca 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArgumentsContext.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/EvaluateArgumentsContext.java @@ -21,15 +21,15 @@ public interface EvaluateArgumentsContext { /** * evaluate is run in a watch. */ - public static final String WATCH = "watch"; + static final String WATCH = "watch"; /** * evaluate is run from REPL console. */ - public static final String REPL = "repl"; + static final String REPL = "repl"; /** * evaluate is run from a data hover. */ - public static final String HOVER = "hover"; + static final String HOVER = "hover"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExceptionInfoArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExceptionInfoArguments.java index 17a6bf8cb..a293444e2 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExceptionInfoArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExceptionInfoArguments.java @@ -25,21 +25,21 @@ public class ExceptionInfoArguments { * Thread for which exception information should be retrieved. */ @NonNull - private Long threadId; + private Integer threadId; /** * Thread for which exception information should be retrieved. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Thread for which exception information should be retrieved. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExitedEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExitedEventArguments.java index bd19c4430..905764278 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExitedEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ExitedEventArguments.java @@ -25,21 +25,21 @@ public class ExitedEventArguments { * The exit code returned from the debuggee. */ @NonNull - private Long exitCode; + private Integer exitCode; /** * The exit code returned from the debuggee. */ @Pure @NonNull - public Long getExitCode() { + public Integer getExitCode() { return this.exitCode; } /** * The exit code returned from the debuggee. */ - public void setExitCode(@NonNull final Long exitCode) { + public void setExitCode(@NonNull final Integer exitCode) { this.exitCode = Preconditions.checkNotNull(exitCode, "exitCode"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoArguments.java index e0070897b..502d78572 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoArguments.java @@ -25,27 +25,27 @@ public class GotoArguments { * Set the goto target for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * The location where the debuggee will continue to run. */ @NonNull - private Long targetId; + private Integer targetId; /** * Set the goto target for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Set the goto target for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } @@ -54,14 +54,14 @@ public void setThreadId(@NonNull final Long threadId) { */ @Pure @NonNull - public Long getTargetId() { + public Integer getTargetId() { return this.targetId; } /** * The location where the debuggee will continue to run. */ - public void setTargetId(@NonNull final Long targetId) { + public void setTargetId(@NonNull final Integer targetId) { this.targetId = Preconditions.checkNotNull(targetId, "targetId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTarget.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTarget.java index 8a34829dc..cfd9403b8 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTarget.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTarget.java @@ -27,7 +27,7 @@ public class GotoTarget { * Unique identifier for a goto target. This is used in the goto request. */ @NonNull - private Long id; + private Integer id; /** * The name of the goto target (shown in the UI). @@ -39,28 +39,28 @@ public class GotoTarget { * The line of the goto target. */ @NonNull - private Long line; + private Integer line; /** * An optional column of the goto target. *

* This is an optional property. */ - private Long column; + private Integer column; /** * An optional end line of the range covered by the goto target. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * An optional end column of the range covered by the goto target. *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * Optional memory reference for the instruction pointer value represented by this target. @@ -74,14 +74,14 @@ public class GotoTarget { */ @Pure @NonNull - public Long getId() { + public Integer getId() { return this.id; } /** * Unique identifier for a goto target. This is used in the goto request. */ - public void setId(@NonNull final Long id) { + public void setId(@NonNull final Integer id) { this.id = Preconditions.checkNotNull(id, "id"); } @@ -106,14 +106,14 @@ public void setLabel(@NonNull final String label) { */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } /** * The line of the goto target. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -123,7 +123,7 @@ public void setLine(@NonNull final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -132,7 +132,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -142,7 +142,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -151,7 +151,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -161,7 +161,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -170,7 +170,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTargetsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTargetsArguments.java index 957e4367a..66264ecb7 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTargetsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/GotoTargetsArguments.java @@ -32,14 +32,14 @@ public class GotoTargetsArguments { * The line location for which the goto targets are determined. */ @NonNull - private Long line; + private Integer line; /** * An optional column location for which the goto targets are determined. *

* This is an optional property. */ - private Long column; + private Integer column; /** * The source location for which the goto targets are determined. @@ -62,14 +62,14 @@ public void setSource(@NonNull final Source source) { */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } /** * The line location for which the goto targets are determined. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -79,7 +79,7 @@ public void setLine(@NonNull final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -88,7 +88,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/InitializeRequestArgumentsPathFormat.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/InitializeRequestArgumentsPathFormat.java index 7cb021d36..9466725b8 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/InitializeRequestArgumentsPathFormat.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/InitializeRequestArgumentsPathFormat.java @@ -18,7 +18,7 @@ */ @SuppressWarnings("all") public interface InitializeRequestArgumentsPathFormat { - public static final String PATH = "path"; + static final String PATH = "path"; - public static final String URI = "uri"; + static final String URI = "uri"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Message.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Message.java index 2a558f022..f1137b453 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Message.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Message.java @@ -26,7 +26,7 @@ public class Message { * Unique identifier for the message. */ @NonNull - private Long id; + private Integer id; /** * A format string for the message. Embedded variables have the form '{name}'. @@ -77,14 +77,14 @@ public class Message { */ @Pure @NonNull - public Long getId() { + public Integer getId() { return this.id; } /** * Unique identifier for the message. */ - public void setId(@NonNull final Long id) { + public void setId(@NonNull final Integer id) { this.id = Preconditions.checkNotNull(id, "id"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Module.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Module.java index b5a440efb..089f606ad 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Module.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Module.java @@ -43,7 +43,7 @@ public class Module { * Unique identifier for the module. */ @NonNull - private Either id; + private Either id; /** * A name of the module. @@ -120,18 +120,18 @@ public class Module { */ @Pure @NonNull - public Either getId() { + public Either getId() { return this.id; } /** * Unique identifier for the module. */ - public void setId(@NonNull final Either id) { + public void setId(@NonNull final Either id) { this.id = Preconditions.checkNotNull(id, "id"); } - public void setId(final Long id) { + public void setId(final Integer id) { if (id == null) { Preconditions.checkNotNull(id, "id"); this.id = null; diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesArguments.java index c405c864c..be6e94415 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesArguments.java @@ -24,14 +24,14 @@ public class ModulesArguments { *

* This is an optional property. */ - private Long startModule; + private Integer startModule; /** * The number of modules to return. If moduleCount is not specified or 0, all modules are returned. *

* This is an optional property. */ - private Long moduleCount; + private Integer moduleCount; /** * The index of the first module to return; if omitted modules start at 0. @@ -39,7 +39,7 @@ public class ModulesArguments { * This is an optional property. */ @Pure - public Long getStartModule() { + public Integer getStartModule() { return this.startModule; } @@ -48,7 +48,7 @@ public Long getStartModule() { *

* This is an optional property. */ - public void setStartModule(final Long startModule) { + public void setStartModule(final Integer startModule) { this.startModule = startModule; } @@ -58,7 +58,7 @@ public void setStartModule(final Long startModule) { * This is an optional property. */ @Pure - public Long getModuleCount() { + public Integer getModuleCount() { return this.moduleCount; } @@ -67,7 +67,7 @@ public Long getModuleCount() { *

* This is an optional property. */ - public void setModuleCount(final Long moduleCount) { + public void setModuleCount(final Integer moduleCount) { this.moduleCount = moduleCount; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesResponse.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesResponse.java index 04603597e..787cc9f53 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesResponse.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ModulesResponse.java @@ -33,7 +33,7 @@ public class ModulesResponse { *

* This is an optional property. */ - private Long totalModules; + private Integer totalModules; /** * All modules or range of modules. @@ -57,7 +57,7 @@ public void setModules(@NonNull final org.eclipse.lsp4j.debug.Module[] modules) * This is an optional property. */ @Pure - public Long getTotalModules() { + public Integer getTotalModules() { return this.totalModules; } @@ -66,7 +66,7 @@ public Long getTotalModules() { *

* This is an optional property. */ - public void setTotalModules(final Long totalModules) { + public void setTotalModules(final Integer totalModules) { this.totalModules = totalModules; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/NextArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/NextArguments.java index fd70ef7af..de89caee7 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/NextArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/NextArguments.java @@ -25,21 +25,21 @@ public class NextArguments { * Execute 'next' for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Execute 'next' for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Execute 'next' for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArguments.java index 610ebbafb..bbab0d6d2 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArguments.java @@ -58,14 +58,14 @@ public class OutputEventArguments { *

* This is an optional property. */ - private Long line; + private Integer line; /** * An optional source location column where the output was produced. *

* This is an optional property. */ - private Long column; + private Integer column; /** * Optional data to report. For the 'telemetry' category the data will be sent to telemetry, for the other @@ -162,7 +162,7 @@ public void setSource(final Source source) { * This is an optional property. */ @Pure - public Long getLine() { + public Integer getLine() { return this.line; } @@ -171,7 +171,7 @@ public Long getLine() { *

* This is an optional property. */ - public void setLine(final Long line) { + public void setLine(final Integer line) { this.line = line; } @@ -181,7 +181,7 @@ public void setLine(final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -190,7 +190,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArgumentsCategory.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArgumentsCategory.java index a71bb6164..383410dfb 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArgumentsCategory.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/OutputEventArgumentsCategory.java @@ -18,11 +18,11 @@ */ @SuppressWarnings("all") public interface OutputEventArgumentsCategory { - public static final String CONSOLE = "console"; + static final String CONSOLE = "console"; - public static final String STDOUT = "stdout"; + static final String STDOUT = "stdout"; - public static final String STDERR = "stderr"; + static final String STDERR = "stderr"; - public static final String TELEMETRY = "telemetry"; + static final String TELEMETRY = "telemetry"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/PauseArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/PauseArguments.java index d85148c60..aa186ac05 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/PauseArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/PauseArguments.java @@ -25,21 +25,21 @@ public class PauseArguments { * Pause execution for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Pause execution for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Pause execution for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ProcessEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ProcessEventArguments.java index bafc6ada0..f073db9ac 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ProcessEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ProcessEventArguments.java @@ -35,7 +35,7 @@ public class ProcessEventArguments { *

* This is an optional property. */ - private Long systemProcessId; + private Integer systemProcessId; /** * If true, the process is running on the same computer as the debug adapter. @@ -57,7 +57,7 @@ public class ProcessEventArguments { *

* This is an optional property. */ - private Long pointerSize; + private Integer pointerSize; /** * The logical name of the process. This is usually the full path to process's executable file. Example: @@ -83,7 +83,7 @@ public void setName(@NonNull final String name) { * This is an optional property. */ @Pure - public Long getSystemProcessId() { + public Integer getSystemProcessId() { return this.systemProcessId; } @@ -92,7 +92,7 @@ public Long getSystemProcessId() { *

* This is an optional property. */ - public void setSystemProcessId(final Long systemProcessId) { + public void setSystemProcessId(final Integer systemProcessId) { this.systemProcessId = systemProcessId; } @@ -141,7 +141,7 @@ public void setStartMethod(final ProcessEventArgumentsStartMethod startMethod) { * This is an optional property. */ @Pure - public Long getPointerSize() { + public Integer getPointerSize() { return this.pointerSize; } @@ -151,7 +151,7 @@ public Long getPointerSize() { *

* This is an optional property. */ - public void setPointerSize(final Long pointerSize) { + public void setPointerSize(final Integer pointerSize) { this.pointerSize = pointerSize; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryArguments.java index 24b99ab4e..9cdba8aeb 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryArguments.java @@ -32,14 +32,14 @@ public class ReadMemoryArguments { *

* This is an optional property. */ - private Long offset; + private Integer offset; /** * Number of bytes to read at the specified location and offset. *

* This is an optional property. */ - private Long count; + private Integer count; /** * Memory reference to the base location from which data should be read. @@ -63,7 +63,7 @@ public void setMemoryReference(@NonNull final String memoryReference) { * This is an optional property. */ @Pure - public Long getOffset() { + public Integer getOffset() { return this.offset; } @@ -72,7 +72,7 @@ public Long getOffset() { *

* This is an optional property. */ - public void setOffset(final Long offset) { + public void setOffset(final Integer offset) { this.offset = offset; } @@ -82,7 +82,7 @@ public void setOffset(final Long offset) { * This is an optional property. */ @Pure - public Long getCount() { + public Integer getCount() { return this.count; } @@ -91,7 +91,7 @@ public Long getCount() { *

* This is an optional property. */ - public void setCount(final Long count) { + public void setCount(final Integer count) { this.count = count; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryResponse.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryResponse.java index 475a95b77..6cd43f168 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryResponse.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReadMemoryResponse.java @@ -34,7 +34,7 @@ public class ReadMemoryResponse { *

* This is an optional property. */ - private Long unreadableBytes; + private Integer unreadableBytes; /** * The bytes read from memory, encoded using base64. @@ -68,7 +68,7 @@ public void setAddress(@NonNull final String address) { * This is an optional property. */ @Pure - public Long getUnreadableBytes() { + public Integer getUnreadableBytes() { return this.unreadableBytes; } @@ -78,7 +78,7 @@ public Long getUnreadableBytes() { *

* This is an optional property. */ - public void setUnreadableBytes(final Long unreadableBytes) { + public void setUnreadableBytes(final Integer unreadableBytes) { this.unreadableBytes = unreadableBytes; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/RestartFrameArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/RestartFrameArguments.java index 97af31baf..e1ef7ddce 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/RestartFrameArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/RestartFrameArguments.java @@ -25,21 +25,21 @@ public class RestartFrameArguments { * Restart this stackframe. */ @NonNull - private Long frameId; + private Integer frameId; /** * Restart this stackframe. */ @Pure @NonNull - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } /** * Restart this stackframe. */ - public void setFrameId(@NonNull final Long frameId) { + public void setFrameId(@NonNull final Integer frameId) { this.frameId = Preconditions.checkNotNull(frameId, "frameId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReverseContinueArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReverseContinueArguments.java index d8890f4ef..f8d756f96 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReverseContinueArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ReverseContinueArguments.java @@ -25,21 +25,21 @@ public class ReverseContinueArguments { * Execute 'reverseContinue' for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Execute 'reverseContinue' for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Execute 'reverseContinue' for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Scope.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Scope.java index 72fc65c93..41f440364 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Scope.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Scope.java @@ -83,28 +83,28 @@ public class Scope { *

* This is an optional property. */ - private Long line; + private Integer line; /** * Optional start column of the range covered by this scope. *

* This is an optional property. */ - private Long column; + private Integer column; /** * Optional end line of the range covered by this scope. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * Optional end column of the range covered by this scope. *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * Name of the scope such as 'Arguments', 'Locals', or 'Registers'. This string is shown in the @@ -254,7 +254,7 @@ public void setSource(final Source source) { * This is an optional property. */ @Pure - public Long getLine() { + public Integer getLine() { return this.line; } @@ -263,7 +263,7 @@ public Long getLine() { *

* This is an optional property. */ - public void setLine(final Long line) { + public void setLine(final Integer line) { this.line = line; } @@ -273,7 +273,7 @@ public void setLine(final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -282,7 +282,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } @@ -292,7 +292,7 @@ public void setColumn(final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -301,7 +301,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -311,7 +311,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -320,7 +320,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ScopesArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ScopesArguments.java index f66d3f73c..b4278dd17 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ScopesArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ScopesArguments.java @@ -25,21 +25,21 @@ public class ScopesArguments { * Retrieve the scopes for this stackframe. */ @NonNull - private Long frameId; + private Integer frameId; /** * Retrieve the scopes for this stackframe. */ @Pure @NonNull - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } /** * Retrieve the scopes for this stackframe. */ - public void setFrameId(@NonNull final Long frameId) { + public void setFrameId(@NonNull final Integer frameId) { this.frameId = Preconditions.checkNotNull(frameId, "frameId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetBreakpointsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetBreakpointsArguments.java index e71a653b0..f60fd65ae 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetBreakpointsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetBreakpointsArguments.java @@ -42,7 +42,7 @@ public class SetBreakpointsArguments { *

* This is an optional property. */ - private Long[] lines; + private Integer[] lines; /** * A value of true indicates that the underlying source has been modified which results in new breakpoint @@ -93,7 +93,7 @@ public void setBreakpoints(final SourceBreakpoint[] breakpoints) { * This is an optional property. */ @Pure - public Long[] getLines() { + public Integer[] getLines() { return this.lines; } @@ -102,7 +102,7 @@ public Long[] getLines() { *

* This is an optional property. */ - public void setLines(final Long[] lines) { + public void setLines(final Integer[] lines) { this.lines = lines; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetExpressionArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetExpressionArguments.java index 56ee871dd..6b76af839 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetExpressionArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SetExpressionArguments.java @@ -40,7 +40,7 @@ public class SetExpressionArguments { *

* This is an optional property. */ - private Long frameId; + private Integer frameId; /** * Specifies how the resulting value should be formatted. @@ -88,7 +88,7 @@ public void setValue(@NonNull final String value) { * This is an optional property. */ @Pure - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } @@ -98,7 +98,7 @@ public Long getFrameId() { *

* This is an optional property. */ - public void setFrameId(final Long frameId) { + public void setFrameId(final Integer frameId) { this.frameId = frameId; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceArguments.java index 2b55102dc..611bd2aa3 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceArguments.java @@ -34,7 +34,7 @@ public class SourceArguments { * compatibility since old backends do not understand the 'source' attribute. */ @NonNull - private Long sourceReference; + private Integer sourceReference; /** * Specifies the source content to load. Either source.path or source.sourceReference must be specified. @@ -61,7 +61,7 @@ public void setSource(final Source source) { */ @Pure @NonNull - public Long getSourceReference() { + public Integer getSourceReference() { return this.sourceReference; } @@ -69,7 +69,7 @@ public Long getSourceReference() { * The reference to the source. This is the same as source.sourceReference. This is provided for backward * compatibility since old backends do not understand the 'source' attribute. */ - public void setSourceReference(@NonNull final Long sourceReference) { + public void setSourceReference(@NonNull final Integer sourceReference) { this.sourceReference = Preconditions.checkNotNull(sourceReference, "sourceReference"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceBreakpoint.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceBreakpoint.java index 58477b108..ae76cec8d 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceBreakpoint.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/SourceBreakpoint.java @@ -25,14 +25,14 @@ public class SourceBreakpoint { * The source line of the breakpoint or logpoint. */ @NonNull - private Long line; + private Integer line; /** * An optional source column of the breakpoint. *

* This is an optional property. */ - private Long column; + private Integer column; /** * An optional expression for conditional breakpoints. @@ -62,14 +62,14 @@ public class SourceBreakpoint { */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } /** * The source line of the breakpoint or logpoint. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -79,7 +79,7 @@ public void setLine(@NonNull final Long line) { * This is an optional property. */ @Pure - public Long getColumn() { + public Integer getColumn() { return this.column; } @@ -88,7 +88,7 @@ public Long getColumn() { *

* This is an optional property. */ - public void setColumn(final Long column) { + public void setColumn(final Integer column) { this.column = column; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackFrame.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackFrame.java index 76bb873cc..e4a816e33 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackFrame.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackFrame.java @@ -29,7 +29,7 @@ public class StackFrame { * scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe. */ @NonNull - private Long id; + private Integer id; /** * The name of the stack frame, typically a method name. @@ -48,27 +48,27 @@ public class StackFrame { * The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored. */ @NonNull - private Long line; + private Integer line; /** * The column within the line. If source is null or doesn't exist, column is 0 and must be ignored. */ @NonNull - private Long column; + private Integer column; /** * An optional end line of the range covered by the stack frame. *

* This is an optional property. */ - private Long endLine; + private Integer endLine; /** * An optional end column of the range covered by the stack frame. *

* This is an optional property. */ - private Long endColumn; + private Integer endColumn; /** * Optional memory reference for the current instruction pointer in this frame. @@ -82,7 +82,7 @@ public class StackFrame { *

* This is an optional property. */ - private Either moduleId; + private Either moduleId; /** * An optional hint for how to present this frame in the UI. A value of 'label' can be used to indicate that the @@ -99,7 +99,7 @@ public class StackFrame { */ @Pure @NonNull - public Long getId() { + public Integer getId() { return this.id; } @@ -107,7 +107,7 @@ public Long getId() { * An identifier for the stack frame. It must be unique across all threads. This id can be used to retrieve the * scopes of the frame with the 'scopesRequest' or to restart the execution of a stackframe. */ - public void setId(@NonNull final Long id) { + public void setId(@NonNull final Integer id) { this.id = Preconditions.checkNotNull(id, "id"); } @@ -151,14 +151,14 @@ public void setSource(final Source source) { */ @Pure @NonNull - public Long getLine() { + public Integer getLine() { return this.line; } /** * The line within the file of the frame. If source is null or doesn't exist, line is 0 and must be ignored. */ - public void setLine(@NonNull final Long line) { + public void setLine(@NonNull final Integer line) { this.line = Preconditions.checkNotNull(line, "line"); } @@ -167,14 +167,14 @@ public void setLine(@NonNull final Long line) { */ @Pure @NonNull - public Long getColumn() { + public Integer getColumn() { return this.column; } /** * The column within the line. If source is null or doesn't exist, column is 0 and must be ignored. */ - public void setColumn(@NonNull final Long column) { + public void setColumn(@NonNull final Integer column) { this.column = Preconditions.checkNotNull(column, "column"); } @@ -184,7 +184,7 @@ public void setColumn(@NonNull final Long column) { * This is an optional property. */ @Pure - public Long getEndLine() { + public Integer getEndLine() { return this.endLine; } @@ -193,7 +193,7 @@ public Long getEndLine() { *

* This is an optional property. */ - public void setEndLine(final Long endLine) { + public void setEndLine(final Integer endLine) { this.endLine = endLine; } @@ -203,7 +203,7 @@ public void setEndLine(final Long endLine) { * This is an optional property. */ @Pure - public Long getEndColumn() { + public Integer getEndColumn() { return this.endColumn; } @@ -212,7 +212,7 @@ public Long getEndColumn() { *

* This is an optional property. */ - public void setEndColumn(final Long endColumn) { + public void setEndColumn(final Integer endColumn) { this.endColumn = endColumn; } @@ -241,7 +241,7 @@ public void setInstructionPointerReference(final String instructionPointerRefere * This is an optional property. */ @Pure - public Either getModuleId() { + public Either getModuleId() { return this.moduleId; } @@ -250,11 +250,11 @@ public Either getModuleId() { *

* This is an optional property. */ - public void setModuleId(final Either moduleId) { + public void setModuleId(final Either moduleId) { this.moduleId = moduleId; } - public void setModuleId(final Long moduleId) { + public void setModuleId(final Integer moduleId) { if (moduleId == null) { this.moduleId = null; return; diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceArguments.java index a10f43021..37b1960ae 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceArguments.java @@ -26,21 +26,21 @@ public class StackTraceArguments { * Retrieve the stacktrace for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * The index of the first frame to return; if omitted frames start at 0. *

* This is an optional property. */ - private Long startFrame; + private Integer startFrame; /** * The maximum number of frames to return. If levels is not specified or 0, all frames are returned. *

* This is an optional property. */ - private Long levels; + private Integer levels; /** * Specifies details on how to format the stack frames. @@ -54,14 +54,14 @@ public class StackTraceArguments { */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Retrieve the stacktrace for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } @@ -71,7 +71,7 @@ public void setThreadId(@NonNull final Long threadId) { * This is an optional property. */ @Pure - public Long getStartFrame() { + public Integer getStartFrame() { return this.startFrame; } @@ -80,7 +80,7 @@ public Long getStartFrame() { *

* This is an optional property. */ - public void setStartFrame(final Long startFrame) { + public void setStartFrame(final Integer startFrame) { this.startFrame = startFrame; } @@ -90,7 +90,7 @@ public void setStartFrame(final Long startFrame) { * This is an optional property. */ @Pure - public Long getLevels() { + public Integer getLevels() { return this.levels; } @@ -99,7 +99,7 @@ public Long getLevels() { *

* This is an optional property. */ - public void setLevels(final Long levels) { + public void setLevels(final Integer levels) { this.levels = levels; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceResponse.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceResponse.java index b6aa6d9d3..72776442a 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceResponse.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StackTraceResponse.java @@ -36,7 +36,7 @@ public class StackTraceResponse { *

* This is an optional property. */ - private Long totalFrames; + private Integer totalFrames; /** * The frames of the stackframe. If the array has length zero, there are no stackframes available. @@ -64,7 +64,7 @@ public void setStackFrames(@NonNull final StackFrame[] stackFrames) { * This is an optional property. */ @Pure - public Long getTotalFrames() { + public Integer getTotalFrames() { return this.totalFrames; } @@ -73,7 +73,7 @@ public Long getTotalFrames() { *

* This is an optional property. */ - public void setTotalFrames(final Long totalFrames) { + public void setTotalFrames(final Integer totalFrames) { this.totalFrames = totalFrames; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepBackArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepBackArguments.java index e1fd90142..f052a2939 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepBackArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepBackArguments.java @@ -25,21 +25,21 @@ public class StepBackArguments { * Execute 'stepBack' for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Execute 'stepBack' for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Execute 'stepBack' for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInArguments.java index 18e1be1a5..397cacafb 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInArguments.java @@ -25,28 +25,28 @@ public class StepInArguments { * Execute 'stepIn' for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Optional id of the target to step into. *

* This is an optional property. */ - private Long targetId; + private Integer targetId; /** * Execute 'stepIn' for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Execute 'stepIn' for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } @@ -56,7 +56,7 @@ public void setThreadId(@NonNull final Long threadId) { * This is an optional property. */ @Pure - public Long getTargetId() { + public Integer getTargetId() { return this.targetId; } @@ -65,7 +65,7 @@ public Long getTargetId() { *

* This is an optional property. */ - public void setTargetId(final Long targetId) { + public void setTargetId(final Integer targetId) { this.targetId = targetId; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTarget.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTarget.java index e2bc9fb55..e3efc60cb 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTarget.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTarget.java @@ -26,7 +26,7 @@ public class StepInTarget { * Unique identifier for a stepIn target. */ @NonNull - private Long id; + private Integer id; /** * The name of the stepIn target (shown in the UI). @@ -39,14 +39,14 @@ public class StepInTarget { */ @Pure @NonNull - public Long getId() { + public Integer getId() { return this.id; } /** * Unique identifier for a stepIn target. */ - public void setId(@NonNull final Long id) { + public void setId(@NonNull final Integer id) { this.id = Preconditions.checkNotNull(id, "id"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTargetsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTargetsArguments.java index a21c673c9..cf7e28ddc 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTargetsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepInTargetsArguments.java @@ -25,21 +25,21 @@ public class StepInTargetsArguments { * The stack frame for which to retrieve the possible stepIn targets. */ @NonNull - private Long frameId; + private Integer frameId; /** * The stack frame for which to retrieve the possible stepIn targets. */ @Pure @NonNull - public Long getFrameId() { + public Integer getFrameId() { return this.frameId; } /** * The stack frame for which to retrieve the possible stepIn targets. */ - public void setFrameId(@NonNull final Long frameId) { + public void setFrameId(@NonNull final Integer frameId) { this.frameId = Preconditions.checkNotNull(frameId, "frameId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepOutArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepOutArguments.java index 871b10790..87d70050d 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepOutArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StepOutArguments.java @@ -25,21 +25,21 @@ public class StepOutArguments { * Execute 'stepOut' for this thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * Execute 'stepOut' for this thread. */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * Execute 'stepOut' for this thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArguments.java index 58ab85aea..475b78b46 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArguments.java @@ -48,7 +48,7 @@ public class StoppedEventArguments { *

* This is an optional property. */ - private Long threadId; + private Integer threadId; /** * A value of true hints to the frontend that this event should not change the focus. @@ -130,7 +130,7 @@ public void setDescription(final String description) { * This is an optional property. */ @Pure - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } @@ -139,7 +139,7 @@ public Long getThreadId() { *

* This is an optional property. */ - public void setThreadId(final Long threadId) { + public void setThreadId(final Integer threadId) { this.threadId = threadId; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArgumentsReason.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArgumentsReason.java index 8196f3a5b..17bec68be 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArgumentsReason.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/StoppedEventArgumentsReason.java @@ -21,19 +21,19 @@ */ @SuppressWarnings("all") public interface StoppedEventArgumentsReason { - public static final String STEP = "step"; + static final String STEP = "step"; - public static final String BREAKPOINT = "breakpoint"; + static final String BREAKPOINT = "breakpoint"; - public static final String EXCEPTION = "exception"; + static final String EXCEPTION = "exception"; - public static final String PAUSE = "pause"; + static final String PAUSE = "pause"; - public static final String ENTRY = "entry"; + static final String ENTRY = "entry"; - public static final String GOTO = "goto"; + static final String GOTO = "goto"; - public static final String FUNCTION_BREAKPOINT = "function breakpoint"; + static final String FUNCTION_BREAKPOINT = "function breakpoint"; - public static final String DATA_BREAKPOINT = "data breakpoint"; + static final String DATA_BREAKPOINT = "data breakpoint"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/TerminateThreadsArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/TerminateThreadsArguments.java index 4478a2fc7..fa71bd736 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/TerminateThreadsArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/TerminateThreadsArguments.java @@ -25,7 +25,7 @@ public class TerminateThreadsArguments { *

* This is an optional property. */ - private Long[] threadIds; + private Integer[] threadIds; /** * Ids of threads to be terminated. @@ -33,7 +33,7 @@ public class TerminateThreadsArguments { * This is an optional property. */ @Pure - public Long[] getThreadIds() { + public Integer[] getThreadIds() { return this.threadIds; } @@ -42,7 +42,7 @@ public Long[] getThreadIds() { *

* This is an optional property. */ - public void setThreadIds(final Long[] threadIds) { + public void setThreadIds(final Integer[] threadIds) { this.threadIds = threadIds; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Thread.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Thread.java index 77bec7008..4ca67ad1f 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Thread.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/Thread.java @@ -25,7 +25,7 @@ public class Thread { * Unique identifier for the thread. */ @NonNull - private Long id; + private Integer id; /** * A name of the thread. @@ -38,14 +38,14 @@ public class Thread { */ @Pure @NonNull - public Long getId() { + public Integer getId() { return this.id; } /** * Unique identifier for the thread. */ - public void setId(@NonNull final Long id) { + public void setId(@NonNull final Integer id) { this.id = Preconditions.checkNotNull(id, "id"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArguments.java index 5ee205ceb..37dfd5815 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArguments.java @@ -33,7 +33,7 @@ public class ThreadEventArguments { * The identifier of the thread. */ @NonNull - private Long threadId; + private Integer threadId; /** * The reason for the event. @@ -60,14 +60,14 @@ public void setReason(@NonNull final String reason) { */ @Pure @NonNull - public Long getThreadId() { + public Integer getThreadId() { return this.threadId; } /** * The identifier of the thread. */ - public void setThreadId(@NonNull final Long threadId) { + public void setThreadId(@NonNull final Integer threadId) { this.threadId = Preconditions.checkNotNull(threadId, "threadId"); } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArgumentsReason.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArgumentsReason.java index a2fc23a3c..73574cf83 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArgumentsReason.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/ThreadEventArgumentsReason.java @@ -18,7 +18,7 @@ */ @SuppressWarnings("all") public interface ThreadEventArgumentsReason { - public static final String STARTED = "started"; + static final String STARTED = "started"; - public static final String EXITED = "exited"; + static final String EXITED = "exited"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintAttributes.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintAttributes.java index 7202635d7..4fe45b4a1 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintAttributes.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintAttributes.java @@ -20,35 +20,35 @@ public interface VariablePresentationHintAttributes { /** * Indicates that the object is static. */ - public static final String STATIC = "static"; + static final String STATIC = "static"; /** * Indicates that the object is a constant. */ - public static final String CONSTANT = "constant"; + static final String CONSTANT = "constant"; /** * Indicates that the object is read only. */ - public static final String READ_ONLY = "readOnly"; + static final String READ_ONLY = "readOnly"; /** * Indicates that the object is a raw string. */ - public static final String RAW_STRING = "rawString"; + static final String RAW_STRING = "rawString"; /** * Indicates that the object can have an Object ID created for it. */ - public static final String HAS_OBJECT_ID = "hasObjectId"; + static final String HAS_OBJECT_ID = "hasObjectId"; /** * Indicates that the object has an Object ID associated with it. */ - public static final String CAN_HAVE_OBJECT_ID = "canHaveObjectId"; + static final String CAN_HAVE_OBJECT_ID = "canHaveObjectId"; /** * Indicates that the evaluation had side effects. */ - public static final String HAS_SIDE_EFFECTS = "hasSideEffects"; + static final String HAS_SIDE_EFFECTS = "hasSideEffects"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintKind.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintKind.java index bb8f01ad6..f67425f8c 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintKind.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintKind.java @@ -21,56 +21,56 @@ public interface VariablePresentationHintKind { /** * Indicates that the object is a property. */ - public static final String PROPERTY = "property"; + static final String PROPERTY = "property"; /** * Indicates that the object is a method. */ - public static final String METHOD = "method"; + static final String METHOD = "method"; /** * Indicates that the object is a class. */ - public static final String CLASS = "class"; + static final String CLASS = "class"; /** * Indicates that the object is data. */ - public static final String DATA = "data"; + static final String DATA = "data"; /** * Indicates that the object is an event. */ - public static final String EVENT = "event"; + static final String EVENT = "event"; /** * Indicates that the object is a base class. */ - public static final String BASE_CLASS = "baseClass"; + static final String BASE_CLASS = "baseClass"; /** * Indicates that the object is an inner class. */ - public static final String INNER_CLASS = "innerClass"; + static final String INNER_CLASS = "innerClass"; /** * Indicates that the object is an interface. */ - public static final String INTERFACE = "interface"; + static final String INTERFACE = "interface"; /** * Indicates that the object is the most derived class. */ - public static final String MOST_DERIVED_CLASS = "mostDerivedClass"; + static final String MOST_DERIVED_CLASS = "mostDerivedClass"; /** * Indicates that the object is virtual, that means it is a synthetic object introduced by the adapter for * rendering purposes, e.g. an index range for large arrays. */ - public static final String VIRTUAL = "virtual"; + static final String VIRTUAL = "virtual"; /** * Indicates that a data breakpoint is registered for the object. */ - public static final String DATA_BREAKPOINT = "dataBreakpoint"; + static final String DATA_BREAKPOINT = "dataBreakpoint"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintVisibility.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintVisibility.java index b9f443f00..a1bd8d990 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintVisibility.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablePresentationHintVisibility.java @@ -18,13 +18,13 @@ */ @SuppressWarnings("all") public interface VariablePresentationHintVisibility { - public static final String PUBLIC = "public"; + static final String PUBLIC = "public"; - public static final String PRIVATE = "private"; + static final String PRIVATE = "private"; - public static final String PROTECTED = "protected"; + static final String PROTECTED = "protected"; - public static final String INTERNAL = "internal"; + static final String INTERNAL = "internal"; - public static final String FINAL = "final"; + static final String FINAL = "final"; } diff --git a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablesArguments.java b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablesArguments.java index 4cd7cb1aa..57f295ea3 100644 --- a/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablesArguments.java +++ b/org.eclipse.lsp4j.debug/src/main/xtend-gen/org/eclipse/lsp4j/debug/VariablesArguments.java @@ -41,14 +41,14 @@ public class VariablesArguments { *

* This is an optional property. */ - private Long start; + private Integer start; /** * The number of variables to return. If count is missing or 0, all variables are returned. *

* This is an optional property. */ - private Long count; + private Integer count; /** * Specifies details on how to format the Variable values. @@ -98,7 +98,7 @@ public void setFilter(final VariablesArgumentsFilter filter) { * This is an optional property. */ @Pure - public Long getStart() { + public Integer getStart() { return this.start; } @@ -107,7 +107,7 @@ public Long getStart() { *

* This is an optional property. */ - public void setStart(final Long start) { + public void setStart(final Integer start) { this.start = start; } @@ -117,7 +117,7 @@ public void setStart(final Long start) { * This is an optional property. */ @Pure - public Long getCount() { + public Integer getCount() { return this.count; } @@ -126,7 +126,7 @@ public Long getCount() { *

* This is an optional property. */ - public void setCount(final Long count) { + public void setCount(final Integer count) { this.count = count; }