mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[full-line] ML-2050 Add TODOs and annotations
GitOrigin-RevId: 6720d76364e80e19279613fb5c3829d51c4005b5
This commit is contained in:
committed by
intellij-monorepo-bot
parent
d84c96e01c
commit
d433b10415
+3
@@ -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)
|
||||
|
||||
|
||||
+2
@@ -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>()
|
||||
|
||||
Reference in New Issue
Block a user