Skip to content

Enable KEEP 402 mode in Analysis API #2888

@jaschdoc

Description

@jaschdoc

KEEP 402 changes the default rules of annotations on constructor parameters without explicit use-site targets. This is not a problem downstream since KSP tries to emulate this already. The Analysis API already supports it, but it needs to be enabled with the flag -Xannotation-defaulting=param-property. Doing so likely requires removing some code in KSP since it no longer has to do the work manually.

Metadata

Metadata

Assignees

Labels

P2affects usability but not blocks users

Type

No fields configured for Task.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions