dev.mokkery.plugin.diagnostics.MokkeryDiagnostics.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mokkery-plugin Show documentation
Show all versions of mokkery-plugin Show documentation
Mokkery is a mocking library for Kotlin Multiplatform, easy to use, boilerplate-free and compiler plugin driven.
The newest version!
package dev.mokkery.plugin.diagnostics
import org.jetbrains.kotlin.com.intellij.psi.PsiElement
import org.jetbrains.kotlin.diagnostics.error2
import org.jetbrains.kotlin.diagnostics.error3
import org.jetbrains.kotlin.fir.symbols.FirBasedSymbol
import org.jetbrains.kotlin.fir.symbols.impl.FirValueParameterSymbol
import org.jetbrains.kotlin.fir.types.ConeKotlinType
import org.jetbrains.kotlin.name.Name
object MokkeryDiagnostics {
val INDIRECT_INTERCEPTION by error2()
val SEALED_TYPE_CANNOT_BE_INTERCEPTED by error2()
val FINAL_TYPE_CANNOT_BE_INTERCEPTED by error2()
val PRIMITIVE_TYPE_CANNOT_BE_INTERCEPTED by error2()
val FINAL_MEMBERS_TYPE_CANNOT_BE_INTERCEPTED by error3>>()
val NO_PUBLIC_CONSTRUCTOR_TYPE_CANNOT_BE_INTERCEPTED by error2()
val MULTIPLE_SUPER_CLASSES_FOR_MOCK_MANY by error2>()
val DUPLICATE_TYPES_FOR_MOCK_MANY by error3()
val FUNCTIONAL_TYPE_ON_JS_FOR_MOCK_MANY by error2()
val FUNCTIONAL_PARAM_MUST_BE_LAMBDA by error2()
}