Minor: Rename KotlinStepOverInlineFilter to KotlinStepOverFilter

This commit is contained in:
Yan Zhulanow
2019-12-26 21:55:48 +09:00
parent f4337eede1
commit 615d24bbd2
2 changed files with 3 additions and 3 deletions
@@ -8,7 +8,7 @@ package org.jetbrains.kotlin.idea.debugger.stepping
import com.intellij.debugger.engine.DebugProcessImpl import com.intellij.debugger.engine.DebugProcessImpl
import com.intellij.debugger.engine.SuspendContextImpl import com.intellij.debugger.engine.SuspendContextImpl
import com.intellij.xdebugger.impl.XSourcePositionImpl import com.intellij.xdebugger.impl.XSourcePositionImpl
import org.jetbrains.kotlin.idea.debugger.stepping.filter.KotlinStepOverInlineFilter import org.jetbrains.kotlin.idea.debugger.stepping.filter.KotlinStepOverFilter
import org.jetbrains.kotlin.idea.debugger.stepping.filter.LocationToken import org.jetbrains.kotlin.idea.debugger.stepping.filter.LocationToken
import org.jetbrains.kotlin.idea.debugger.stepping.filter.StepOverCallerInfo import org.jetbrains.kotlin.idea.debugger.stepping.filter.StepOverCallerInfo
import org.jetbrains.kotlin.idea.util.application.runReadAction import org.jetbrains.kotlin.idea.util.application.runReadAction
@@ -36,7 +36,7 @@ sealed class KotlinStepAction {
class StepOverInlined(private val tokensToSkip: Set<LocationToken>, private val callerInfo: StepOverCallerInfo) : KotlinStepAction() { class StepOverInlined(private val tokensToSkip: Set<LocationToken>, private val callerInfo: StepOverCallerInfo) : KotlinStepAction() {
override fun apply(debugProcess: DebugProcessImpl, suspendContext: SuspendContextImpl, ignoreBreakpoints: Boolean) { override fun apply(debugProcess: DebugProcessImpl, suspendContext: SuspendContextImpl, ignoreBreakpoints: Boolean) {
val filter = KotlinStepOverInlineFilter(debugProcess.project, tokensToSkip, callerInfo) val filter = KotlinStepOverFilter(debugProcess.project, tokensToSkip, callerInfo)
return KotlinStepActionFactory(debugProcess).createKotlinStepOverInlineAction(filter).contextAction(suspendContext) return KotlinStepActionFactory(debugProcess).createKotlinStepOverInlineAction(filter).contextAction(suspendContext)
} }
} }
@@ -61,7 +61,7 @@ data class LocationToken(val lineNumber: Int, val inlineVariables: List<String>)
} }
} }
class KotlinStepOverInlineFilter( class KotlinStepOverFilter(
val project: Project, val project: Project,
private val tokensToSkip: Set<LocationToken>, private val tokensToSkip: Set<LocationToken>,
private val callerInfo: StepOverCallerInfo private val callerInfo: StepOverCallerInfo