UseNamingConvention

@Target(allowedTargets = [AnnotationTarget.CLASS])
annotation class UseNamingConvention(val value: NamingConvention = NamingConvention.LENIENT)

Configure the naming convention used for implicit property matching.

When set to NamingConvention.LENIENT, property names are normalized by converting to lowercase and removing separators (_ and -), allowing matches like user_name to userName.

Properties

Link copied to clipboard