Packages

class JsonSchemaToRamlType extends CodeActionResponsePlugin with AmfObjectResolver with ExtractSameFileDeclaration

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

Instance Constructors

  1. new JsonSchemaToRamlType(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. val alsConfigurationState: ALSConfigurationState
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeAmfObjectResolver
  7. lazy val amfObject: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  8. def appliesToDocument(): Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def beginType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  11. def buildEdit(editUri: String, editTextEdit: TextEdit): Seq[AbstractWorkspaceEdit]
  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  13. def code(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  14. def containsPosition(obj: AmfObject, position: Option[Position]): Boolean
    Definition Classes
    ShapeExtractor
  15. def declarationName(amfObject: AmfObject, dialect: Dialect): Option[String]
    Definition Classes
    DeclarationCreator
  16. def declarationPath(fdp: AmfObject, dialect: Dialect): Seq[String]
    Definition Classes
    DeclarationCreator
  17. def declarationPathForDialect(dialect: Dialect): Option[String]
    Definition Classes
    DeclarationCreator
  18. lazy val declaredElementTextEdit: Option[TextEdit]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  19. def endType(params: CodeActionRequestParams): MessageTypes
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  20. 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
  21. 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
  22. 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
  23. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  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 extractShapeFromAmfObject(obj: Option[AmfObject]): Option[AnyShape]
    Definition Classes
    AmfObjectResolver
  27. def extractable(maybeObject: Option[AmfObject], dialect: Dialect): Option[AmfObject]
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  28. val findDialectForSemantic: (String) ⇒ Option[(SemanticExtension, Dialect)]
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeBaseElementDeclarableExtractors
  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() @IntrinsicCandidate()
  31. def getExistingParts(maybePart: Option[ASTElement], keys: Seq[String]): Seq[YMapEntry]
    Definition Classes
    DeclarationCreator
  32. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  33. lazy val homogeneousVendor: Boolean
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  34. def inplaceRamlTypeTextEdit(shape: AnyShape, range: Range): Future[(String, TextEdit)]
  35. val isApplicable: Boolean
    Definition Classes
    JsonSchemaToRamlTypeCodeActionPlugin
  36. def isInlinedJsonSchema(shape: Shape): Boolean
    Definition Classes
    ShapeExtractor
  37. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  38. def isJsonSchemaShape(obj: AmfObject): Boolean
    Definition Classes
    ShapeExtractor
  39. val jsonOptions: JsonRenderOptions
    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  40. 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
  41. val kindTitle: CodeActionKindTitle
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration
  42. 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
    JsonSchemaToRamlTypeBaseElementDeclarableExtractors
  43. lazy val maybeAnyShape: Option[AnyShape]
  44. val maybeTree: Option[ObjectInTree]
    Attributes
    protected
    Definition Classes
    TreeKnowledge
  45. def msg(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  46. final def nameNotInList(baseName: String, existing: Set[String], c: Option[Int]): String
    Definition Classes
    DeclarationCreator
    Annotations
    @tailrec()
  47. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  48. def newName: String

    Placeholder for the new name (key and reference)

    Placeholder for the new name (key and reference)

    Attributes
    protected
    Definition Classes
    BaseElementDeclarableExtractors
  49. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  50. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  51. val params: CodeActionRequestParams
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeTreeKnowledge
  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. def rangeFromEntryBottom(maybeEntry: Option[YMapEntry]): Option[Range]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  55. def renderDeclaredEntry(amfObject: Option[AmfObject], name: String): Option[(String, Option[YMapEntry])]
    Attributes
    protected
    Definition Classes
    ExtractSameFileDeclaration
  56. 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
  57. def resolveShape(anyShape: AnyShape): Option[AnyShape]
    Attributes
    protected
    Definition Classes
    AmfObjectResolver
  58. lazy val resolvedAmfObject: Option[AmfObject]
    Attributes
    protected
    Definition Classes
    AmfObjectResolver
  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 task(params: CodeActionRequestParams): Future[Seq[AbstractCodeAction]]
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  64. def toString(): String
    Definition Classes
    AnyRef → Any
  65. def tryExtractFromTree(): Option[AnyShape]
  66. def uri(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    JsonSchemaToRamlTypeExtractSameFileDeclaration → TelemeteredTask
  67. def uuid(params: CodeActionRequestParams): String
    Attributes
    protected
    Definition Classes
    TelemeteredTask
  68. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  69. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  70. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  71. 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
  72. 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 AmfObjectResolver

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