Packages

case class ExtractRamlTypeCodeAction(params: CodeActionRequestParams) extends ExtractSameFileDeclaration with ExtractRamlType with Product with Serializable

Linear Supertypes
Serializable, Serializable, Product, Equals, ExtractRamlType, ExtractSameFileDeclaration, ShapeExtractor, BaseElementDeclarableExtractors, DeclarationCreator, TreeKnowledge, CodeActionResponsePlugin, CodeActionPlugin[Seq[AbstractCodeAction]], TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExtractRamlTypeCodeAction
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. ExtractRamlType
  7. ExtractSameFileDeclaration
  8. ShapeExtractor
  9. BaseElementDeclarableExtractors
  10. DeclarationCreator
  11. TreeKnowledge
  12. CodeActionResponsePlugin
  13. CodeActionPlugin
  14. TelemeteredTask
  15. AnyRef
  16. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExtractRamlTypeCodeAction(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. def afterInfoNode(baseUnit: BaseUnit, isJson: Boolean): Option[Position]
    Definition Classes
    DeclarationCreator
  5. val afterInfoRange: PositionRange
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  6. lazy val amfObject: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    ExtractRamlTypeBaseElementDeclarableExtractors
  7. def appliesToDocument(): Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  8. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  9. def beginType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  10. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  11. def code(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  12. def containsPosition(obj: AmfObject, position: Option[Position]): Boolean
    Definition Classes
    ShapeExtractor
  13. def declarationName(amfObject: AmfObject, documentDefinition: DocumentDefinition): Option[String]
    Definition Classes
    DeclarationCreator
  14. def declarationPath(fdp: AmfObject, documentDefinition: DocumentDefinition): Seq[String]
    Definition Classes
    DeclarationCreator
  15. def declarationPathForDialect(documentDefinition: DocumentDefinition): Option[String]
    Definition Classes
    DeclarationCreator
  16. lazy val declaredElementTextEdit: Option[TextEdit]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  17. def endType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  18. 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
  19. 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
  20. 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
  21. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. final def extractAmfObject(maybeTree: Option[ObjectInTree], documentDefinition: DocumentDefinition): 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
  23. def extractRamlType: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    ExtractRamlType
  24. def extractable(maybeObject: Option[AmfObject], documentDefinition: DocumentDefinition): Option[AmfObject]

    Get the RAML type definition that encapsulates the Json schema, not the Json schema shape

    Get the RAML type definition that encapsulates the Json schema, not the Json schema shape

    Attributes
    protected
    Definition Classes
    ExtractRamlTypeBaseElementDeclarableExtractors
  25. val findDialectForSemantic: (String) ⇒ Option[(SemanticExtension, Dialect)]
    Attributes
    protected
    Definition Classes
    ExtractRamlTypeCodeActionBaseElementDeclarableExtractors
  26. def findExistingKeyPart(bu: BaseUnit, uri: String, keyPath: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  27. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  28. def getExistingParts(maybePart: Option[ASTElement], keys: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  29. lazy val homogeneousVendor: Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  30. lazy val isApplicable: Boolean
  31. def isInlinedJsonSchema(shape: Shape): Boolean
    Definition Classes
    ShapeExtractor
  32. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  33. def isJsonSchemaShape(obj: AmfObject): Boolean
    Definition Classes
    ShapeExtractor
  34. val jsonOptions: JsonRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  35. 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
  36. val kindTitle: CodeActionKindTitle
    Attributes
    protected
    Definition Classes
    ExtractRamlTypeCodeActionExtractSameFileDeclaration
  37. 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"})

    Definition Classes
    ExtractRamlTypeCodeActionBaseElementDeclarableExtractors
  38. val maybeTree: Option[ObjectInTree]
    Attributes
    protected
    Definition Classes
    TreeKnowledge
  39. def msg(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  40. final def nameNotInList(baseName: String, existing: Set[String], c: Option[Int]): String
    Definition Classes
    DeclarationCreator
    Annotations
    @tailrec()
  41. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  42. def newName: String

    Placeholder for the new name (key and reference)

    Placeholder for the new name (key and reference)

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  43. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  44. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  45. val params: CodeActionRequestParams
  46. 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
    TreeKnowledge
  47. def positionIsExtracted: Boolean
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  48. def rangeFromEntryBottom(maybeEntry: Option[YMapEntry]): Option[Range]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  49. def renderDeclaredEntry(amfObject: Option[AmfObject], name: String): Option[(String, Option[YMapEntry])]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  50. 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
  51. final def run(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Definition Classes
    TelemeteredTask
  52. lazy val sourceName: String
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  53. lazy val spec: Spec
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  54. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  55. def task(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  56. def uri(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  57. def uuid(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    TelemeteredTask
  58. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  59. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  60. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  61. 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
    TreeKnowledge
  62. val yamlOptions: YamlRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ExtractRamlType

Inherited from ShapeExtractor

Inherited from DeclarationCreator

Inherited from TreeKnowledge

Inherited from CodeActionResponsePlugin

Inherited from CodeActionPlugin[Seq[AbstractCodeAction]]

Inherited from TelemeteredTask[CodeActionRequestParams, Seq[AbstractCodeAction]]

Inherited from AnyRef

Inherited from Any

Ungrouped