Skip to content

Annotation with Class[] member always returns an empty list #78

@ZacSweers

Description

@ZacSweers

I've been trying to write a prototype of AutoService via KSP, and notice that the value field (a Class array) always returns an empty list when I try to query the annotation value in KSP

Repro branch: https://github.com/ZacSweers/moshi-sealed/tree/z/ksp

Under AutoServiceKsProcessor.kt, there's a println with a comment where it finds an empty list

image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions