Skip to content

Error when using annotation collector #1408

@chrylis

Description

@chrylis

I just updated to 4.8.0.v202210112349-e2209 in 4.25-SNAPSHOT. I have an annotation collector that includes @TupleConstructor, and the editor for the file shows this error at -1,-1:

@AnnotationCollector
@TupleConstructor
@interface ExampleData{}
Groovy:Error processing interface 'com.example.ExampleData'. @TupleConstructor not allowed for interfaces.

Any classes annotated with the collector annotation then have

Groovy:Expecting static method `Object[][] value()` in groovy.transform.Undefined$CLASS. Was it compiled from a Java source?

This does not appear to affect the actual .class output, and it doesn't show in the Package Explorer, but it's alarming the newbies.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions