InvalidationTraceTableApiChecker

class InvalidationTraceTableApiChecker(session: FirSession) : FirAdditionalCheckersExtension

Checker to validate use cases of the ComposableInvalidationTraceTable API.

Currently, two validations are supported:

  1. TraceTableApiAccessChecker: Using an API annotated with @ComposableScope outside of a Composable function, or using the ComposableInvalidationTraceTable API in a file that does not create a ComposableInvalidationTraceTable, will raise an error.

  2. ComposableNameExpressionChecker: Raises an error if the argument to ComposableName is not hardcoded as a string.

Constructors

Link copied to clipboard
constructor(session: FirSession)

Properties

Link copied to clipboard
open val declarationCheckers: DeclarationCheckers
Link copied to clipboard
open override val expressionCheckers: ExpressionCheckers
Link copied to clipboard
override val extensionType: KClass<out FirExtension>
Link copied to clipboard
open val languageVersionSettingsCheckers: LanguageVersionSettingsCheckers
Link copied to clipboard
override val name: FirExtensionPointName
Link copied to clipboard
val session: FirSession
Link copied to clipboard
open val typeCheckers: TypeCheckers

Functions

Link copied to clipboard
open fun FirDeclarationPredicateRegistrar.registerPredicates()