Package ch.epfl.scala.bsp4j
Class DiagnosticRelatedInformation
- java.lang.Object
-
- ch.epfl.scala.bsp4j.DiagnosticRelatedInformation
-
public class DiagnosticRelatedInformation extends java.lang.Object
Represents a related message and source code location for a diagnostic. This should be used to point to code locations that cause or are related to a diagnostics, e.g when duplicating a symbol in a scope.
-
-
Constructor Summary
Constructors Constructor Description DiagnosticRelatedInformation(Location location, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Location
getLocation()
java.lang.String
getMessage()
int
hashCode()
void
setLocation(Location location)
void
setMessage(java.lang.String message)
java.lang.String
toString()
-
-
-
Constructor Detail
-
DiagnosticRelatedInformation
public DiagnosticRelatedInformation(Location location, java.lang.String message)
-
-
Method Detail
-
getLocation
@Pure public Location getLocation()
-
setLocation
public void setLocation(Location location)
-
getMessage
@Pure public java.lang.String getMessage()
-
setMessage
public void setMessage(java.lang.String message)
-
toString
@Pure public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
equals
@Pure public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
hashCode
@Pure public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
-