add simple quick documentation to InlineBreakpointsDisabler

GitOrigin-RevId: 6b8c187daf759104dfa285cdf28803bce656361b
This commit is contained in:
Arseny.Chernyaev
2024-02-28 17:09:35 +01:00
committed by intellij-monorepo-bot
parent 93071e9e3e
commit 1b0f8a3485

View File

@@ -5,6 +5,10 @@ import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.openapi.vfs.VirtualFile
import org.jetbrains.annotations.ApiStatus
/**
* Interface for classes that could introduce custom policies for inline breakpoints disabling.
* @see com.intellij.xdebugger.XDebuggerUtil.areInlineBreakpointsEnabled
*/
@ApiStatus.Experimental
interface InlineBreakpointsDisabler {
@@ -13,5 +17,8 @@ interface InlineBreakpointsDisabler {
"com.intellij.xdebugger.inlineBreakpointsDisabler")
}
/**
* Determines whether inline breakpoints should be disabled in a given [VirtualFile].
*/
fun areInlineBreakpointsDisabled(virtualFile: VirtualFile?) : Boolean
}