KaAnalysisPermissionRegistry¶
@SubclassOptInRequired(markerClass = [KaImplementationDetail::class])
interface KaAnalysisPermissionRegistry
KaAnalysisPermissionRegistry stores settings required by permission functions such as forbidAnalysis, allowAnalysisOnEdt, and allowAnalysisFromWriteAction.
KaAnalysisPermissionRegistry is an application service because we want users to call permission functions without having to pass a project, which would be required if this class was a project service.
Types¶
Companion¶
object Companion
KaExplicitAnalysisRestriction¶
class KaExplicitAnalysisRestriction(val description: String)
Properties¶
explicitAnalysisRestriction¶
isAnalysisAllowedInWriteAction¶
abstract var isAnalysisAllowedInWriteAction: Boolean
isAnalysisAllowedOnEdt¶
abstract var isAnalysisAllowedOnEdt: Boolean