Class DiagnosticRelatedInformation
java.lang.Object
org.graalvm.tools.lsp.server.types.JSONBase
org.graalvm.tools.lsp.server.types.DiagnosticRelatedInformation
Represents a related message and source code location for a diagnostic. This should be used to
point to code locations that cause or related to a diagnostics, e.g when duplicating a symbol in
a scope.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DiagnosticRelatedInformationCreates a new DiagnosticRelatedInformation literal.booleanThe location of this related diagnostic information.The message of this related diagnostic information.inthashCode()setLocation(Location location) setMessage(String message)
-
Method Details
-
getLocation
The location of this related diagnostic information. -
setLocation
-
getMessage
The message of this related diagnostic information. -
setMessage
-
equals
-
hashCode
public int hashCode() -
create
Creates a new DiagnosticRelatedInformation literal.
-