Packages

case class ExtractResourceTypeCodeAction(params: CodeActionRequestParams) extends ConverterExtractor[EndPoint, EndPoint] with Product with Serializable

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

Instance Constructors

  1. new ExtractResourceTypeCodeAction(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
    ConverterExtractorBaseElementDeclarableExtractors
  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()
  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. val declarationKey: String
  14. def declarationName(amfObject: AmfObject, dialect: Dialect): Option[String]
    Definition Classes
    DeclarationCreator
  15. def declarationPath(fdp: AmfObject, dialect: Dialect): Seq[String]
    Definition Classes
    DeclarationCreator
  16. def declarationPathForDialect(dialect: Dialect): Option[String]
    Definition Classes
    DeclarationCreator
  17. lazy val declarationResult: Option[EndPoint]
    Definition Classes
    ConverterExtractor
  18. lazy val declaredElementTextEdit: Option[TextEdit]
    Attributes
    protected
    Definition Classes
    ConverterExtractorExtractSameFileDeclaration
  19. def emitEndpoint(endPoint: EndPoint): RamlEndPointEmitter
  20. def endType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration → TelemeteredTask
  21. 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
  22. 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
  23. 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
  24. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  25. 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
  26. def extractable(maybeObject: Option[AmfObject], dialect: Dialect): Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  27. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. val findDialectForSemantic: (String) ⇒ Option[(SemanticExtension, Dialect)]
    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeActionBaseElementDeclarableExtractors
  29. def findExistingKeyPart(bu: BaseUnit, uri: String, keyPath: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  30. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def getEndpointChildren(endpoint: EndPoint): Seq[EndPoint]
  32. def getExistingParts(maybePart: Option[ASTElement], keys: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  33. lazy val homogeneousVendor: Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  34. lazy val isApplicable: Boolean
  35. def isInlinedJsonSchema(shape: Shape): Boolean
    Definition Classes
    ShapeExtractor
  36. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  37. def isJsonSchemaShape(obj: AmfObject): Boolean
    Definition Classes
    ShapeExtractor
  38. val jsonOptions: JsonRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  39. 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
  40. val kindTitle: CodeActionKindTitle
    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeActionConverterExtractorExtractSameFileDeclaration
  41. 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
  42. val maybeTree: Option[ObjectInTree]
    Attributes
    protected
    Definition Classes
    TreeKnowledge
  43. def modifyEntry(original: EndPoint): String
  44. def msg(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeActionExtractSameFileDeclaration → TelemeteredTask
  45. final def nameNotInList(baseName: String, existing: Set[String], c: Option[Int]): String
    Definition Classes
    DeclarationCreator
    Annotations
    @tailrec()
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. def newName: String

    Placeholder for the new name (key and reference)

    Placeholder for the new name (key and reference)

    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeActionBaseElementDeclarableExtractors
  48. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  50. lazy val original: Option[EndPoint]
  51. val params: CodeActionRequestParams
  52. 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
  53. def positionIsExtracted: Boolean
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  54. implicit val raml10SpecEmitterContext: Raml10SpecEmitterContext
  55. def rangeFromEntryBottom(maybeEntry: Option[YMapEntry]): Option[Range]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  56. def renderDeclaredEntry(amfObject: Option[AmfObject], name: String): Option[(String, Option[YMapEntry])]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  57. 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
  58. def renderNode(node: YNode, maybeParent: Option[YMapEntry]): String
    Attributes
    protected
    Definition Classes
    ConverterExtractor
  59. final def run(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Definition Classes
    TelemeteredTask
  60. lazy val sourceName: String
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  61. lazy val spec: Spec
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def targetTextEdit(opStr: Option[String]): Option[TextEdit]
    Definition Classes
    ConverterExtractor
  64. def task(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Attributes
    protected
    Definition Classes
    ConverterExtractorExtractSameFileDeclaration → TelemeteredTask
  65. def telemetry: TelemetryProvider
    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeAction → TelemeteredTask
  66. def transform(original: EndPoint): EndPoint
  67. def uri(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    ExtractResourceTypeCodeActionExtractSameFileDeclaration → TelemeteredTask
  68. def uuid(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    TelemeteredTask
  69. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  70. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  72. lazy val webApi: Option[WebApi]
  73. def wrapDeclaration(amfObject: Option[AmfObject], newName: String, bu: BaseUnit, uri: String, dialect: Dialect, configurationReader: AlsConfigurationReader, jsonOptions: JsonRenderOptions, yamlOptions: YamlRenderOptions, alsConfigurationState: ALSConfigurationState): Option[(String, Option[YMapEntry])]
    Definition Classes
    DeclarationWrapper
  74. 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
  75. val yamlOptions: YamlRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from ConverterExtractor[EndPoint, EndPoint]

Inherited from DeclarationWrapper

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