Package-level declarations

Types

Link copied to clipboard
fun interface CompiledMask

Reusable result of MaskStrategy.compile. mask may be invoked concurrently, must not block, and returns a non-null value.

Link copied to clipboard
Link copied to clipboard

Keeps prefix and suffix code points: read as @Sensitive(DISPLAY, mask = Mask(prefix, suffix)).

Link copied to clipboard
Link copied to clipboard

Masks every code point: read as @Sensitive(SensitivityLevel.DISPLAY).

Link copied to clipboard
annotation class Masking(val strategy: KClass<out MaskStrategy<*>>)

Marks an annotation class as a mask rule compiled by strategy.

Link copied to clipboard

Compiles annotation only during schema construction. The returned CompiledMask must be thread-safe, non-blocking, and non-null.