Refactoring: rename getStepOverPosition -> getStepOverAction

(cherry picked from commit 2b71909)
This commit is contained in:
Nikolay Krasko
2016-09-27 16:26:59 +03:00
committed by Nikolay Krasko
parent 194853b5c2
commit f7813263ee
2 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ public class DebuggerSteppingHelper {
try { try {
StackFrameProxyImpl frameProxy = suspendContext.getFrameProxy(); StackFrameProxyImpl frameProxy = suspendContext.getFrameProxy();
if (frameProxy != null) { if (frameProxy != null) {
Action action = KotlinSteppingCommandProviderKt.getStepOverPosition( Action action = KotlinSteppingCommandProviderKt.getStepOverAction(
frameProxy.location(), frameProxy.location(),
kotlinSourcePosition kotlinSourcePosition
); );
@@ -345,7 +345,7 @@ sealed class Action(val position: XSourcePositionImpl?) {
} }
} }
fun getStepOverPosition( fun getStepOverAction(
location: Location, location: Location,
kotlinSourcePosition: KotlinSteppingCommandProvider.KotlinSourcePosition kotlinSourcePosition: KotlinSteppingCommandProvider.KotlinSourcePosition
): Action { ): Action {
@@ -356,10 +356,10 @@ fun getStepOverPosition(
Pair(inlineArgumentsToSkip, additionalElementsToSkip) Pair(inlineArgumentsToSkip, additionalElementsToSkip)
} }
return getStepOverPosition(location, kotlinSourcePosition.file, kotlinSourcePosition.linesRange, inlineArgumentsToSkip, additionalElementsToSkip) return getStepOverAction(location, kotlinSourcePosition.file, kotlinSourcePosition.linesRange, inlineArgumentsToSkip, additionalElementsToSkip)
} }
fun getStepOverPosition( fun getStepOverAction(
location: Location, location: Location,
file: KtFile, file: KtFile,
range: IntRange, range: IntRange,