本文整理了Java中org.eclipse.lsp4j.jsonrpc.validation.NonNull.<init>()
方法的一些代码示例,展示了NonNull.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。NonNull.<init>()
方法的具体详情如下:
包路径:org.eclipse.lsp4j.jsonrpc.validation.NonNull
类名称:NonNull
方法名:<init>
暂无
代码示例来源: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 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 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
/**
* The text document.
*/
public void setTextDocument(@NonNull final TextDocumentIdentifier textDocument) {
this.textDocument = textDocument;
}
代码示例来源: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
/**
* The glob pattern to watch
*/
public void setGlobPattern(@NonNull final String globPattern) {
this.globPattern = globPattern;
}
代码示例来源:origin: eclipse/eclipse.jdt.ls
@Pure
@NonNull
public List<FileSystemWatcher> getWatchers() {
return this.watchers;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The document to request code lens for.
*/
@Pure
@NonNull
public TextDocumentIdentifier getTextDocument() {
return this.textDocument;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The document in which the command was invoked.
*/
@Pure
@NonNull
public TextDocumentIdentifier getTextDocument() {
return this.textDocument;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The actual color value for this color range.
*/
@Pure
@NonNull
public Color getColor() {
return this.color;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* An array of diagnostic information items.
*/
@Pure
@NonNull
public List<Diagnostic> getDiagnostics() {
return this.diagnostics;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The commands to be executed on the server
*/
@Pure
@NonNull
public List<String> getCommands() {
return this.commands;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The range in which this code lens is valid. Should only span a single line.
*/
@Pure
@NonNull
public Range getRange() {
return this.range;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The capabilities the language server provides.
*/
@Pure
@NonNull
public ServerCapabilities getCapabilities() {
return this.capabilities;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
/**
* The watchers to register.
*/
@Pure
@NonNull
public List<FileSystemWatcher> getWatchers() {
return this.watchers;
}
代码示例来源:origin: org.eclipse.lsp4j/org.eclipse.lsp4j
@Pure
@NonNull
public List<ConfigurationItem> getItems() {
return this.items;
}
内容来源于网络,如有侵权,请联系作者删除!