[full-line] ML-2050 Add TODOs and annotations

GitOrigin-RevId: 6720d76364e80e19279613fb5c3829d51c4005b5
This commit is contained in:
Petr Surkov
2023-12-11 11:13:46 +00:00
committed by intellij-monorepo-bot
parent d84c96e01c
commit d433b10415
3 changed files with 8 additions and 0 deletions
@@ -3,8 +3,11 @@ package com.intellij.platform.ml.impl.correctness.checker
import com.intellij.platform.ml.impl.correctness.checker.ErrorsState.Unknown.UnknownReason
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.annotations.ApiStatus.ScheduledForRemoval
@ApiStatus.Internal
@Deprecated("Use CorrectnessChecker.checkSemantic directly")
@ScheduledForRemoval
class CodeCorrectnessBuilder {
private var semanticState: ErrorsState = ErrorsState.Unknown(UnknownReason.NOT_STARTED)
@@ -12,4 +12,6 @@ interface CorrectnessChecker {
suggestion: String,
offset: Int,
prefix: String): List<CorrectnessError>
// TODO function to check semantic in parallel with timelimit
}
@@ -2,8 +2,11 @@
package com.intellij.platform.ml.impl.correctness.checker
import org.jetbrains.annotations.ApiStatus
import org.jetbrains.annotations.ApiStatus.ScheduledForRemoval
@ApiStatus.Internal
@Deprecated("Use CorrectnessChecker.checkSemantic directly")
@ScheduledForRemoval
sealed class ErrorsState {
data object Correct : ErrorsState() {
override fun errors() = emptyList<CorrectnessError>()