Packages

class ExtractTraitCodeAction extends ConverterExtractor[Operation, Operation]

Linear Supertypes
ConverterExtractor[Operation, Operation], DeclarationWrapper, ExtractSameFileDeclaration, ShapeExtractor, BaseElementDeclarableExtractors, CodeActionResponsePlugin, CodeActionPlugin[Seq[AbstractCodeAction]], TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractTraitCodeAction
  2. ConverterExtractor
  3. DeclarationWrapper
  4. ExtractSameFileDeclaration
  5. ShapeExtractor
  6. BaseElementDeclarableExtractors
  7. CodeActionResponsePlugin
  8. CodeActionPlugin
  9. TelemeteredTask
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtractTraitCodeAction(params: CodeActionRequestParams)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. lazy val amfObject: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    ConverterExtractorBaseElementDeclarableExtractors
  5. def appliesToDocument(): Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  6. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  7. def beginType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  8. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  9. def code(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  10. def containsPosition(obj: AmfObject, position: Option[Position]): Boolean
    Definition Classes
    ShapeExtractor
  11. val declarationKey: String
  12. lazy val declarationResult: Option[Operation]
    Definition Classes
    ConverterExtractor
  13. lazy val declaredElementTextEdit: Option[TextEdit]
    Attributes
    protected
    Definition Classes
    ConverterExtractorExtractSameFileDeclaration
  14. def endType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  15. lazy val entryAst: Option[YPart]

    The original node with lexical info for the declared node

    The original node with lexical info for the declared node

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  16. lazy val entryIndentation: Int

    The indentation for the existing node, as we already ensured it is a key, the first position gives de current indentation

    The indentation for the existing node, as we already ensured it is a key, the first position gives de current indentation

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  17. lazy val entryRange: Option[Range]

    The original range info for the declared node

    The original range info for the declared node

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  18. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  20. final def extractAmfObject(maybeTree: Option[ObjectInTree], dialect: Dialect): Option[AmfObject]

    Selected object if there is a clean match in the range and it is a declarable, or the parents range

    Selected object if there is a clean match in the range and it is a declarable, or the parents range

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  21. def extractable(maybeObject: Option[AmfObject], dialect: Dialect): Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  22. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  24. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  25. lazy val homogeneousVendor: Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  26. val isApplicable: Boolean
  27. def isInlinedJsonSchema(shape: Shape): Boolean
    Definition Classes
    ShapeExtractor
  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def isJsonSchemaShape(obj: AmfObject): Boolean
    Definition Classes
    ShapeExtractor
  30. val jsonOptions: JsonRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  31. lazy val jsonRefEntry: YNode

    Fallback entry, should not be necessary as the link should be rendered

    Fallback entry, should not be necessary as the link should be rendered

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  32. val kindTitle: CodeActionKindTitle
    Attributes
    protected
    Definition Classes
    ExtractTraitCodeActionConverterExtractorExtractSameFileDeclaration
  33. lazy val linkEntry: Future[Option[TextEdit]]

    The entry which holds the reference for the new declaration ({"$ref": "declaration/$1"})

    The entry which holds the reference for the new declaration ({"$ref": "declaration/$1"})

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  34. val maybeTree: Option[ObjectInTree]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  35. def modifyEntry(original: Operation): String
  36. def msg(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractTraitCodeActionExtractSameFileDeclaration → TelemeteredTask
  37. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  38. def newName: String

    Placeholder for the new name (key and reference)

    Placeholder for the new name (key and reference)

    Attributes
    protected
    Definition Classes
    ExtractTraitCodeActionBaseElementDeclarableExtractors
  39. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  40. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  41. lazy val original: Option[Operation]
  42. val params: CodeActionRequestParams
    Attributes
    protected
    Definition Classes
    ExtractTraitCodeActionBaseElementDeclarableExtractors
  43. lazy val position: Option[Position]

    Based on the chosen position from the range

    Based on the chosen position from the range

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  44. def positionIsExtracted: Boolean
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  45. def rangeFromEntryBottom(maybeEntry: Option[YMapEntry]): Range
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  46. def renderDeclaredEntry(amfObject: Option[AmfObject], name: String): Option[(String, Option[YMapEntry])]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  47. lazy val renderLink: Future[Option[YNode]]

    Render of the link generated by the new object

    Render of the link generated by the new object

    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclarationBaseElementDeclarableExtractors
  48. def renderNode(node: YNode, maybeParent: Option[YMapEntry]): String
    Attributes
    protected
    Definition Classes
    ConverterExtractor
  49. final def run(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Definition Classes
    TelemeteredTask
  50. lazy val sourceName: String
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  51. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  52. def targetTextEdit(opStr: Option[String]): Option[TextEdit]
    Definition Classes
    ConverterExtractor
  53. def task(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Attributes
    protected
    Definition Classes
    ConverterExtractorExtractSameFileDeclaration → TelemeteredTask
  54. def telemetry: TelemetryProvider
    Attributes
    protected
    Definition Classes
    ExtractTraitCodeAction → TelemeteredTask
  55. def toString(): String
    Definition Classes
    AnyRef → Any
  56. def transform(original: Operation): Operation
  57. def uri(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  58. def uuid(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    TelemeteredTask
  59. lazy val vendor: Vendor
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  62. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  63. def wrapDeclaration(amfObject: Option[AmfObject], newName: String, bu: BaseUnit, uri: String, vendor: Vendor, dialect: Dialect, configurationReader: AlsConfigurationReader, jsonOptions: JsonRenderOptions, yamlOptions: YamlRenderOptions): Option[(String, Option[YMapEntry])]
    Definition Classes
    DeclarationWrapper
  64. lazy val yPartBranch: Option[YPartBranch]

    Information about the AST for the chosen position

    Information about the AST for the chosen position

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  65. val yamlOptions: YamlRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors

Inherited from ConverterExtractor[Operation, Operation]

Inherited from DeclarationWrapper

Inherited from ShapeExtractor

Inherited from CodeActionResponsePlugin

Inherited from CodeActionPlugin[Seq[AbstractCodeAction]]

Inherited from TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]]

Inherited from AnyRef

Inherited from Any

Ungrouped