org.eclipse.lsp4j.jsonrpc.validation.NonNull Java Examples
The following examples show how to use
org.eclipse.lsp4j.jsonrpc.validation.NonNull.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: InitializeBuildParams.java From build-server-protocol with Apache License 2.0 | 5 votes |
public InitializeBuildParams(@NonNull final String displayName, @NonNull final String version, @NonNull final String bspVersion, @NonNull final String rootUri, @NonNull final BuildClientCapabilities capabilities) { this.displayName = displayName; this.version = version; this.bspVersion = bspVersion; this.rootUri = rootUri; this.capabilities = capabilities; }
Example #2
Source File: BuildTarget.java From build-server-protocol with Apache License 2.0 | 5 votes |
public BuildTarget(@NonNull final BuildTargetIdentifier id, @NonNull final List<String> tags, @NonNull final List<String> languageIds, @NonNull final List<BuildTargetIdentifier> dependencies, @NonNull final BuildTargetCapabilities capabilities) { this.id = id; this.tags = tags; this.dependencies = dependencies; this.languageIds = languageIds; this.capabilities = capabilities; }
Example #3
Source File: JvmEnvironmentItem.java From build-server-protocol with Apache License 2.0 | 5 votes |
public JvmEnvironmentItem(@NonNull final BuildTargetIdentifier target, @NonNull final List<String> classpath, @NonNull final List<String> jvmOptions, @NonNull final String workingDirectory, @NonNull final Map<String, String> environmentVariables) { this.target = target; this.classpath = classpath; this.jvmOptions = jvmOptions; this.workingDirectory = workingDirectory; this.environmentVariables = environmentVariables; }
Example #4
Source File: SbtBuildTarget.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setChildren(@NonNull final List<BuildTargetIdentifier> children) { this.children = Preconditions.checkNotNull(children, "children"); }
Example #5
Source File: TestResult.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public StatusCode getStatusCode() { return this.statusCode; }
Example #6
Source File: ScalaBuildTarget.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public String getScalaOrganization() { return this.scalaOrganization; }
Example #7
Source File: SourceItem.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setGenerated(@NonNull final Boolean generated) { this.generated = Preconditions.checkNotNull(generated, "generated"); }
Example #8
Source File: LogMessageParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
public LogMessageParams(@NonNull final MessageType type, @NonNull final String message) { this.type = type; this.message = message; }
Example #9
Source File: ScalaMainClassesItem.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setTarget(@NonNull final BuildTargetIdentifier target) { this.target = Preconditions.checkNotNull(target, "target"); }
Example #10
Source File: ScalaMainClassesItem.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public BuildTargetIdentifier getTarget() { return this.target; }
Example #11
Source File: BuildClientCapabilities.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public List<String> getLanguageIds() { return this.languageIds; }
Example #12
Source File: CompileProvider.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setLanguageIds(@NonNull final List<String> languageIds) { this.languageIds = Preconditions.checkNotNull(languageIds, "languageIds"); }
Example #13
Source File: ScalaMainClassesItem.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public List<ScalaMainClass> getClasses() { return this.classes; }
Example #14
Source File: TestProvider.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public List<String> getLanguageIds() { return this.languageIds; }
Example #15
Source File: InitializeBuildParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setCapabilities(@NonNull final BuildClientCapabilities capabilities) { this.capabilities = Preconditions.checkNotNull(capabilities, "capabilities"); }
Example #16
Source File: CleanCacheParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
public CleanCacheParams(@NonNull final List<BuildTargetIdentifier> targets) { this.targets = targets; }
Example #17
Source File: TestReport.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public BuildTargetIdentifier getTarget() { return this.target; }
Example #18
Source File: DebugSessionParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
public DebugSessionParams(@NonNull final List<BuildTargetIdentifier> targets, @NonNull final String dataKind, final Object data) { this.targets = targets; this.dataKind = dataKind; this.data = data; }
Example #19
Source File: ScalaMainClass.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setArguments(@NonNull final List<String> arguments) { this.arguments = Preconditions.checkNotNull(arguments, "arguments"); }
Example #20
Source File: SbtBuildTarget.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setScalaBuildTarget(@NonNull final ScalaBuildTarget scalaBuildTarget) { this.scalaBuildTarget = Preconditions.checkNotNull(scalaBuildTarget, "scalaBuildTarget"); }
Example #21
Source File: InverseSourcesResult.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public List<BuildTargetIdentifier> getTargets() { return this.targets; }
Example #22
Source File: BspConnectionDetails.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setArgv(@NonNull final List<String> argv) { this.argv = Preconditions.checkNotNull(argv, "argv"); }
Example #23
Source File: PublishDiagnosticsParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public Boolean getReset() { return this.reset; }
Example #24
Source File: JvmTestEnvironmentParams.java From build-server-protocol with Apache License 2.0 | 4 votes |
public JvmTestEnvironmentParams(@NonNull final List<BuildTargetIdentifier> targets) { this.targets = targets; }
Example #25
Source File: Position.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public Integer getCharacter() { return this.character; }
Example #26
Source File: Position.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setCharacter(@NonNull final Integer character) { this.character = Preconditions.checkNotNull(character, "character"); }
Example #27
Source File: JvmTestEnvironmentResult.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public List<JvmEnvironmentItem> getItems() { return this.items; }
Example #28
Source File: TestReport.java From build-server-protocol with Apache License 2.0 | 4 votes |
@Pure @NonNull public Integer getCancelled() { return this.cancelled; }
Example #29
Source File: WorkspaceBuildTargetsResult.java From build-server-protocol with Apache License 2.0 | 4 votes |
public WorkspaceBuildTargetsResult(@NonNull final List<BuildTarget> targets) { this.targets = targets; }
Example #30
Source File: DiagnosticRelatedInformation.java From build-server-protocol with Apache License 2.0 | 4 votes |
public void setMessage(@NonNull final String message) { this.message = Preconditions.checkNotNull(message, "message"); }