Class

scala.meta.internal.pc.completions.OverrideCompletions

OverrideCompletion

Related Doc: package OverrideCompletions

Permalink

case class OverrideCompletion(name: MetalsGlobal.Name, t: MetalsGlobal.Template, pos: MetalsGlobal.Position, text: String, start: Int, isCandidate: (MetalsGlobal.Symbol) ⇒ Boolean) extends MetalsGlobal.CompletionPosition with Product with Serializable

An override def completion to implement methods from the supertype.

name

the name of the method being completed including the _CURSOR_ suffix.

t

the enclosing template for the class/object/trait we are implementing.

pos

the position of the completion request, points to _CURSOR_.

text

the text of the original source code without _CURSOR_.

start

the position start of the completion.

isCandidate

the determination of whether the symbol will be a possible completion item.

Linear Supertypes
Serializable, java.io.Serializable, Product, Equals, MetalsGlobal.CompletionPosition, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. OverrideCompletion
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. CompletionPosition
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new OverrideCompletion(name: MetalsGlobal.Name, t: MetalsGlobal.Template, pos: MetalsGlobal.Position, text: String, start: Int, isCandidate: (MetalsGlobal.Symbol) ⇒ Boolean)

    Permalink

    name

    the name of the method being completed including the _CURSOR_ suffix.

    t

    the enclosing template for the class/object/trait we are implementing.

    pos

    the position of the completion request, points to _CURSOR_.

    text

    the text of the original source code without _CURSOR_.

    start

    the position start of the completion.

    isCandidate

    the determination of whether the symbol will be a possible completion item.

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. final lazy val cache: Map[MetalsGlobal.Symbol, Boolean]

    Permalink
    Definition Classes
    CompletionPosition
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def compare(o1: MetalsGlobal.Member, o2: MetalsGlobal.Member): Int

    Permalink

    Returns ordering between two candidate completions.

    Returns ordering between two candidate completions.

    - negative number if o1 member should be sorted before o2 - positive number if o2 member should be sorted before o1 - zero 0 if o1 and o2 are equal

    Definition Classes
    CompletionPosition
  8. def contribute: List[MetalsGlobal.Member]

    Permalink

    Returns candidate completion items.

    Returns candidate completion items.

    Definition Classes
    OverrideCompletionCompletionPosition
  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  12. def isCandidate(member: MetalsGlobal.Member): Boolean

    Permalink

    Returns false if this member should be excluded from completion items.

    Returns false if this member should be excluded from completion items.

    Definition Classes
    CompletionPosition
  13. val isCandidate: (MetalsGlobal.Symbol) ⇒ Boolean

    Permalink

    the determination of whether the symbol will be a possible completion item.

  14. val isDecl: Set[MetalsGlobal.Symbol]

    Permalink
  15. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  16. def isNew: Boolean

    Permalink
    Definition Classes
    CompletionPosition
  17. def isPrioritized(m: MetalsGlobal.Member): Boolean

    Permalink

    Returns true if this member should be sorted at the top of completion items.

    Returns true if this member should be sorted at the top of completion items.

    Definition Classes
    CompletionPosition
  18. final def isPrioritizedCached(m: MetalsGlobal.Member): Boolean

    Permalink
    Definition Classes
    CompletionPosition
  19. def isType: Boolean

    Permalink
    Definition Classes
    CompletionPosition
  20. val lineStart: MetalsGlobal.RunId

    Permalink
  21. val name: MetalsGlobal.Name

    Permalink

    the name of the method being completed including the _CURSOR_ suffix.

  22. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  23. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  24. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  25. val pos: MetalsGlobal.Position

    Permalink

    the position of the completion request, points to _CURSOR_.

  26. val prefix: String

    Permalink
  27. val range: org.eclipse.lsp4j.Range

    Permalink
  28. val start: Int

    Permalink

    the position start of the completion.

  29. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  30. val t: MetalsGlobal.Template

    Permalink

    the enclosing template for the class/object/trait we are implementing.

  31. val text: String

    Permalink

    the text of the original source code without _CURSOR_.

  32. val typed: MetalsGlobal.Tree

    Permalink
  33. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from java.io.Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped