Minor: Add @NotNull annotation
This commit is contained in:
@@ -8,7 +8,10 @@
|
||||
<item name='com.intellij.refactoring.BaseRefactoringProcessor myProject'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item
|
||||
<item name='com.intellij.refactoring.BaseRefactoringProcessor void performRefactoring(com.intellij.usageView.UsageInfo[]) 0'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
<item
|
||||
name='com.intellij.refactoring.BaseRefactoringProcessor.ConflictsInTestsException java.util.Collection<java.lang.String> getMessages()'>
|
||||
<annotation name='org.jetbrains.annotations.NotNull'/>
|
||||
</item>
|
||||
|
||||
+1
-1
@@ -98,7 +98,7 @@ public class ReplaceExplicitFunctionLiteralParamWithItIntention() : PsiElementBa
|
||||
false,
|
||||
false
|
||||
) {
|
||||
public override fun performRefactoring(usages: Array<out UsageInfo>?) {
|
||||
public override fun performRefactoring(usages: Array<out UsageInfo>) {
|
||||
super.performRefactoring(usages)
|
||||
funcLiteral.deleteChildRange(funcLiteral.getValueParameterList(), funcLiteral.getArrowNode()!!.getPsi())
|
||||
if (cursorWasOverParameterList) {
|
||||
|
||||
+1
-1
@@ -219,7 +219,7 @@ public class MoveKotlinTopLevelDeclarationsProcessor(project: Project, val optio
|
||||
return showConflicts(conflicts, refUsages.get())
|
||||
}
|
||||
|
||||
override fun performRefactoring(usages: Array<out UsageInfo>?) {
|
||||
override fun performRefactoring(usages: Array<out UsageInfo>) {
|
||||
fun moveDeclaration(
|
||||
declaration: JetNamedDeclaration,
|
||||
moveTarget: KotlinMoveTarget,
|
||||
|
||||
Reference in New Issue
Block a user