org.mulesoft.als.actions.codeactions.plugins.declarations
ExtractRAMLTypeCodeAction
Companion object ExtractRAMLTypeCodeAction
case class ExtractRAMLTypeCodeAction(params: CodeActionRequestParams, kind: CodeActionKind) extends ExtractSameFileDeclaration with Product with Serializable
- Alphabetic
- By Inheritance
- ExtractRAMLTypeCodeAction
- Serializable
- Serializable
- Product
- Equals
- ExtractSameFileDeclaration
- BaseDeclarableExtractors
- CodeActionResponsePlugin
- CodeActionPlugin
- TelemeteredTask
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new ExtractRAMLTypeCodeAction(params: CodeActionRequestParams, kind: CodeActionKind)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
lazy val
amfObject: Option[AmfObject]
Selected object if there is a clean match in the range and it is a declarable
Selected object if there is a clean match in the range and it is a declarable
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
beginType(params: CodeActionRequestParams): MessageTypes
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
code(params: CodeActionRequestParams): String
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
def
declarationPath(fdp: AmfObject, dialect: Dialect): Seq[String]
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
lazy val
declarationsPath: Option[String]
If the dialect groups all declarations in a specific node (like OAS 3
components)If the dialect groups all declarations in a specific node (like OAS 3
components)- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
lazy val
declaredElementNode: Option[YNode]
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
lazy val
declaredEntry: Option[(String, Option[YMapEntry])]
Render for the new declaration, and the top entry on which it should be nested
Render for the new declaration, and the top entry on which it should be nested
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
def
emitElement(e: DomainElement): YNode
Emit a new domain element
Emit a new domain element
- e
DomainElement to be emited
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
def
endType(params: CodeActionRequestParams): MessageTypes
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
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
- BaseDeclarableExtractors
-
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
- BaseDeclarableExtractors
-
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
- BaseDeclarableExtractors
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
lazy val
isApplicable: Boolean
- Definition Classes
- ExtractRAMLTypeCodeAction → CodeActionPlugin
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
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
- BaseDeclarableExtractors
-
val
kind: CodeActionKind
- Definition Classes
- ExtractRAMLTypeCodeAction → CodeActionPlugin
-
lazy val
linkEntry: 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
- ExtractRAMLTypeCodeAction → BaseDeclarableExtractors
-
def
msg(params: CodeActionRequestParams): String
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
val
newName: String
Placeholder for the new name (key and reference)
Placeholder for the new name (key and reference)
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
val
params: CodeActionRequestParams
- Definition Classes
- ExtractRAMLTypeCodeAction → BaseDeclarableExtractors
-
def
positionIsExtracted: Boolean
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
def
rangeFromEntryBottom(maybeEntry: Option[YMapEntry]): Range
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration
-
lazy val
renderLink: Option[YNode]
Render of the link generated by the new object
Render of the link generated by the new object
- Definition Classes
- ExtractRAMLTypeCodeAction → BaseDeclarableExtractors
-
final
def
run(params: CodeActionRequestParams): Future[Seq[CodeAction]]
- Definition Classes
- TelemeteredTask
-
lazy val
sourceName: String
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
task(params: CodeActionRequestParams): Future[Seq[CodeAction]]
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
def
telemetry: TelemetryProvider
- Attributes
- protected
- Definition Classes
- ExtractRAMLTypeCodeAction → TelemeteredTask
-
lazy val
tree: Option[ObjectInTree]
check if the range matches with one specific element, choose the position and element which matches it
check if the range matches with one specific element, choose the position and element which matches it
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
def
uri(params: CodeActionRequestParams): String
- Attributes
- protected
- Definition Classes
- ExtractSameFileDeclaration → TelemeteredTask
-
def
uuid(params: CodeActionRequestParams): String
- Attributes
- protected
- Definition Classes
- TelemeteredTask
-
lazy val
vendor: Vendor
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
lazy val
wrappedDeclaredEntry: Option[(YNode, Option[YMapEntry])]
The complete node and the entry where it belongs, contemplating the path for the declaration and existing AST
The complete node and the entry where it belongs, contemplating the path for the declaration and existing AST
- Attributes
- protected
- Definition Classes
- BaseDeclarableExtractors
-
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
- BaseDeclarableExtractors