Represents a single refactoring action - for example, the "Extract Method..." refactor might offer several actions, each corresponding to a surround class or closure to extract into.
Represents a single refactoring action - for example, the "Extract Method..." refactor might offer several actions, each corresponding to a surround class or closure to extract into.
(description refactor-action-info)
A description of this refactoring action to show to the user. If the parent refactoring is inlined away, this will be the only text shown, so this description should make sense by itself if the parent is inlineable=true
Returns: string
A description of this refactoring action to show to the user. If the parent refactoring is inlined away, this will be the only text shown, so this description should make sense by itself if the parent is inlineable=true **Returns:** `string`
(interactive? refactor-action-info)
Indicates that the action requires additional arguments to be passed
when calling getEditsForRefactor
.
Returns: boolean | undefined
Indicates that the action requires additional arguments to be passed when calling `getEditsForRefactor`. **Returns:** `boolean | undefined`
(kind refactor-action-info)
The hierarchical dotted name of the refactor action.
Returns: string | undefined
The hierarchical dotted name of the refactor action. **Returns:** `string | undefined`
(name refactor-action-info)
The programmatic name of the refactoring action
Returns: string
The programmatic name of the refactoring action **Returns:** `string`
(not-applicable-reason refactor-action-info)
A message to show to the user if the refactoring cannot be applied in the current context.
Returns: string | undefined
A message to show to the user if the refactoring cannot be applied in the current context. **Returns:** `string | undefined`
(set-description! refactor-action-info value)
A description of this refactoring action to show to the user. If the parent refactoring is inlined away, this will be the only text shown, so this description should make sense by itself if the parent is inlineable=true
A description of this refactoring action to show to the user. If the parent refactoring is inlined away, this will be the only text shown, so this description should make sense by itself if the parent is inlineable=true
(set-is-interactive! refactor-action-info value)
Indicates that the action requires additional arguments to be passed
when calling getEditsForRefactor
.
Indicates that the action requires additional arguments to be passed when calling `getEditsForRefactor`.
(set-kind! refactor-action-info value)
The hierarchical dotted name of the refactor action.
The hierarchical dotted name of the refactor action.
(set-name! refactor-action-info value)
The programmatic name of the refactoring action
The programmatic name of the refactoring action
(set-not-applicable-reason! refactor-action-info value)
A message to show to the user if the refactoring cannot be applied in the current context.
A message to show to the user if the refactoring cannot be applied in the current context.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close