ExtraMethod

dotty.tools.pc.completions.CompletionValue.ExtraMethod
case class ExtraMethod(owner: Denotation, extraMethod: Symbolic) extends Symbolic

We need to access original completion in sorting phase. This class is only a wrapper to hold both new completion and original completion.

All methods are proxied to @param extraMethod

FIXME Refactor this file to different architercture. At least to somethhing that is easier to modifiy and scale. One solution may be a migration to flag based solution.

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
trait Symbolic
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

override def additionalEdits: List[TextEdit]

Attributes

Definition Classes
override def command: Option[String]

Attributes

Definition Classes
override def completionData(buildTargetIdentifier: String)(using Context): CompletionItemData

Attributes

Definition Classes

Attributes

Definition Classes
override def completionItemKind(using Context): CompletionItemKind

Attributes

Definition Classes
override def denotation: Denotation

Attributes

Definition Classes
override def description(printer: ShortenedTypePrinter)(using Context): String

Attributes

Definition Classes
override def filterText: Option[String]

Attributes

Definition Classes
override def importSymbol: Symbol

Attributes

Definition Classes
override def insertMode: Option[InsertTextMode]

Attributes

Definition Classes
override def insertText: Option[String]

Attributes

Definition Classes
override def isExtensionMethod: Boolean

Attributes

Definition Classes
override def label: String

Attributes

Definition Classes
override def labelWithDescription(printer: ShortenedTypePrinter)(using Context): String

Label with potentially attached description.

Label with potentially attached description.

Attributes

Definition Classes
override def lspTags(using Context): List[CompletionItemTag]

Attributes

Definition Classes
override def range: Option[Range]

Attributes

Definition Classes

Attributes

Definition Classes

Inherited methods

protected def labelWithSuffix(printer: ShortenedTypePrinter)(using Context): String

Attributes

Inherited from:
Symbolic

Attributes

Inherited from:
Product

Attributes

Inherited from:
Product

Concrete fields

override val symbol: Symbol