Renamed intention class
This commit is contained in:
@@ -716,7 +716,7 @@
|
||||
</intentionAction>
|
||||
|
||||
<intentionAction>
|
||||
<className>org.jetbrains.kotlin.idea.intentions.declarations.ConvertMemberToExtension</className>
|
||||
<className>org.jetbrains.kotlin.idea.intentions.declarations.ConvertMemberToExtensionIntention</className>
|
||||
<category>Kotlin</category>
|
||||
</intentionAction>
|
||||
|
||||
|
||||
+1
-1
@@ -28,7 +28,7 @@ import org.jetbrains.kotlin.idea.quickfix.moveCaret
|
||||
import org.jetbrains.kotlin.lexer.JetTokens
|
||||
import org.jetbrains.kotlin.psi.*
|
||||
|
||||
public class ConvertMemberToExtension : JetSelfTargetingRangeIntention<JetCallableDeclaration>(javaClass(), "Convert to extension") {
|
||||
public class ConvertMemberToExtensionIntention : JetSelfTargetingRangeIntention<JetCallableDeclaration>(javaClass(), "Convert to extension") {
|
||||
override fun applicabilityRange(element: JetCallableDeclaration): TextRange? {
|
||||
val classBody = element.getParent() as? JetClassBody ?: return null
|
||||
if (classBody.getParent() !is JetClass) return null
|
||||
@@ -1 +1 @@
|
||||
org.jetbrains.kotlin.idea.intentions.declarations.ConvertMemberToExtension
|
||||
org.jetbrains.kotlin.idea.intentions.declarations.ConvertMemberToExtensionIntention
|
||||
|
||||
Reference in New Issue
Block a user