t

xsbti

Problem

trait Problem extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Problem
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def category(): String
  2. abstract def message(): String
  3. abstract def position(): Position
  4. abstract def severity(): Severity

Concrete Value Members

  1. 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() and bar()
    • An option to make MyExample abstract
  2. 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.

  3. 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".

  4. 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

  1. def diagnosticRelatedInforamation(): List[DiagnosticRelatedInformation]

    Annotations
    @Deprecated
    Deprecated