trait Problem extends AnyRef
- Alphabetic
- By Inheritance
- Problem
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Abstract Value Members
Concrete Value Members
-
def
actions(): List[Action]
Actions (aka quick fixes) that are able to either fix or address the issue that is causing this Problem.
Actions (aka quick fixes) that are able to either fix or address the issue that is causing this Problem.
For example given the following code:
trait Example: def foo(): Unit def bar(): Unit class MyExample extends Example
You could expect this to have multiple actions attatched:
- An option to implement a stub method for
foo()
andbar()
- An option to make
MyExample
abstract
- An option to implement a stub method for
-
def
diagnosticCode(): Optional[DiagnosticCode]
The unique code attached to the diagnostic being reported.
The unique code attached to the diagnostic being reported.
NOTE: To avoid breaking compatibility we provide a default to account for older Scala versions that do not have codes.
-
def
diagnosticRelatedInformation(): List[DiagnosticRelatedInformation]
The possible releated information for the diagnostic being reported.
The possible releated information for the diagnostic being reported.
NOTE: To avoid breaking compatibility we provide a default to account for older Scala versions that do not have the concept of "related information".
-
def
rendered(): Optional[String]
If present, the string shown to the user when displaying this Problem.
If present, the string shown to the user when displaying this Problem. Otherwise, the Problem will be shown in an implementation-defined way based on the values of its other fields.
Deprecated Value Members
-
def
diagnosticRelatedInforamation(): List[DiagnosticRelatedInformation]
- Annotations
- @Deprecated
- Deprecated