Renamed class
This commit is contained in:
@@ -340,7 +340,7 @@
|
|||||||
|
|
||||||
<qualifiedNameProvider implementation="org.jetbrains.kotlin.idea.actions.KotlinQualifiedNameProvider"/>
|
<qualifiedNameProvider implementation="org.jetbrains.kotlin.idea.actions.KotlinQualifiedNameProvider"/>
|
||||||
|
|
||||||
<codeInsight.parameterInfo language="kotlin" implementationClass="org.jetbrains.kotlin.idea.parameterInfo.JetFunctionParameterInfoHandler"/>
|
<codeInsight.parameterInfo language="kotlin" implementationClass="org.jetbrains.kotlin.idea.parameterInfo.KotlinFunctionParameterInfoHandler"/>
|
||||||
|
|
||||||
<codeInsight.gotoSuper language="kotlin" implementationClass="org.jetbrains.kotlin.idea.codeInsight.GotoSuperActionHandler"/>
|
<codeInsight.gotoSuper language="kotlin" implementationClass="org.jetbrains.kotlin.idea.codeInsight.GotoSuperActionHandler"/>
|
||||||
<typeDeclarationProvider implementation="org.jetbrains.kotlin.idea.codeInsight.JetTypeDeclarationProvider"/>
|
<typeDeclarationProvider implementation="org.jetbrains.kotlin.idea.codeInsight.JetTypeDeclarationProvider"/>
|
||||||
|
|||||||
+1
-1
@@ -47,7 +47,7 @@ import org.jetbrains.kotlin.types.checker.JetTypeChecker
|
|||||||
import java.awt.Color
|
import java.awt.Color
|
||||||
import java.util.*
|
import java.util.*
|
||||||
|
|
||||||
class JetFunctionParameterInfoHandler : ParameterInfoHandlerWithTabActionSupport<JetValueArgumentList, Pair<out FunctionDescriptor, ResolutionFacade>, JetValueArgument> {
|
class KotlinFunctionParameterInfoHandler : ParameterInfoHandlerWithTabActionSupport<JetValueArgumentList, Pair<out FunctionDescriptor, ResolutionFacade>, JetValueArgument> {
|
||||||
|
|
||||||
override fun getActualParameters(arguments: JetValueArgumentList) = arguments.arguments.toTypedArray()
|
override fun getActualParameters(arguments: JetValueArgumentList) = arguments.arguments.toTypedArray()
|
||||||
|
|
||||||
+1
-1
@@ -47,7 +47,7 @@ public abstract class AbstractFunctionParameterInfoTest extends LightCodeInsight
|
|||||||
expectedResultText = lastChild.getText().substring(2).trim();
|
expectedResultText = lastChild.getText().substring(2).trim();
|
||||||
}
|
}
|
||||||
assert expectedResultText != null;
|
assert expectedResultText != null;
|
||||||
JetFunctionParameterInfoHandler parameterInfoHandler = new JetFunctionParameterInfoHandler();
|
KotlinFunctionParameterInfoHandler parameterInfoHandler = new KotlinFunctionParameterInfoHandler();
|
||||||
MockCreateParameterInfoContext mockCreateParameterInfoContext = new MockCreateParameterInfoContext(file, myFixture);
|
MockCreateParameterInfoContext mockCreateParameterInfoContext = new MockCreateParameterInfoContext(file, myFixture);
|
||||||
JetValueArgumentList parameterOwner = parameterInfoHandler.findElementForParameterInfo(mockCreateParameterInfoContext);
|
JetValueArgumentList parameterOwner = parameterInfoHandler.findElementForParameterInfo(mockCreateParameterInfoContext);
|
||||||
|
|
||||||
|
|||||||
@@ -54,7 +54,7 @@ public class MockParameterInfoUIContext implements ParameterInfoUIContext {
|
|||||||
String resultText = "Text: (" + highlightedText + "), " +
|
String resultText = "Text: (" + highlightedText + "), " +
|
||||||
"Disabled: " + isDisabled + ", " +
|
"Disabled: " + isDisabled + ", " +
|
||||||
"Strikeout: " + strikeout + ", " +
|
"Strikeout: " + strikeout + ", " +
|
||||||
"Green: " + background.equals(JetFunctionParameterInfoHandler.GREEN_BACKGROUND);
|
"Green: " + background.equals(KotlinFunctionParameterInfoHandler.GREEN_BACKGROUND);
|
||||||
result.add(resultText);
|
result.add(resultText);
|
||||||
|
|
||||||
// return value not used, just return something
|
// return value not used, just return something
|
||||||
|
|||||||
Reference in New Issue
Block a user