org.eclipse.lsp4j.jsonrpc.validation.NonNull类的使用及代码示例

x33g5p2x  于2022-01-25 转载在 其他  
字(3.8k)|赞(0)|评价(0)|浏览(189)

本文整理了Java中org.eclipse.lsp4j.jsonrpc.validation.NonNull类的一些代码示例,展示了NonNull类的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NonNull类的具体详情如下:
包路径:org.eclipse.lsp4j.jsonrpc.validation.NonNull
类名称:NonNull

NonNull介绍

暂无

代码示例

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The document that was closed.
 */
public void setTextDocument(@NonNull final TextDocumentIdentifier textDocument) {
 this.textDocument = textDocument;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The range this link applies to.
 */
public void setRange(@NonNull final Range range) {
 this.range = range;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The text document's language identifier
 */
public void setLanguageId(@NonNull final String languageId) {
 this.languageId = languageId;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The hover's content as markdown
 */
public void setContents(@NonNull final Either<List<Either<String, MarkedString>>, MarkupContent> contents) {
 this.contents = contents;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The character that has been typed.
 */
public void setCh(@NonNull final String ch) {
 this.ch = ch;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The name of this symbol.
 */
public void setName(@NonNull final String name) {
 this.name = name;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The kind of this symbol.
 */
public void setKind(@NonNull final SymbolKind kind) {
 this.kind = kind;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The string to be inserted. For delete operations use an empty string.
 */
public void setNewText(@NonNull final String newText) {
 this.newText = newText;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The range in which this code lens is valid. Should only span a single line.
 */
public void setRange(@NonNull final Range range) {
 this.range = range;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

public SymbolInformation(@NonNull final String name, @NonNull final SymbolKind kind, @NonNull final Location location, final String containerName) {
 this.name = name;
 this.kind = kind;
 this.location = location;
 this.containerName = containerName;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The kind of this symbol.
 */
public void setKind(@NonNull final SymbolKind kind) {
 this.kind = kind;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The text document that has to be decorated with the semantic highlighting information.
 */
public void setTextDocument(@NonNull final VersionedTextDocumentIdentifier textDocument) {
 this.textDocument = textDocument;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The text document.
 */
public void setTextDocument(@NonNull final TextDocumentIdentifier textDocument) {
 this.textDocument = textDocument;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * A non-empty query string
 */
public void setQuery(@NonNull final String query) {
 this.query = query;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The range to format
 */
public void setRange(@NonNull final Range range) {
 this.range = range;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * Title of the command, like `save`.
 */
public void setTitle(@NonNull final String title) {
 this.title = title;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

/**
 * The  glob pattern to watch
 */
public void setGlobPattern(@NonNull final String globPattern) {
 this.globPattern = globPattern;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

@Deprecated
public TextDocumentPositionParams(@NonNull final TextDocumentIdentifier textDocument, final String uri, @NonNull final Position position) {
 this.textDocument = textDocument;
 this.uri = uri;
 this.position = position;
}

代码示例来源:origin: eclipse/eclipse.jdt.ls

@Pure
@NonNull
 public List<FileSystemWatcher> getWatchers() {
   return this.watchers;
}

代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j

public SignatureInformation(@NonNull final String label, final MarkupContent documentation, final List<ParameterInformation> parameters) {
 this.label = label;
 this.setDocumentation(documentation);
 this.parameters = parameters;
}

相关文章

NonNull类方法