Skip to content

Issue with @AnnotationCollector in release 11/10/2016 #224

@admxiii

Description

@admxiii

Seems to be an issue with the annotation collector annotation in the latest build. The attributes are no longer inherited in the new annotation. Here is a simple example.

// File - MyEqualsAndHashCode.groovy
@EqualsAndHashCode
@AnnotationCollector
@interface MyEqualsAndHashCode {
}

// SomeObjectTO.groovy
@MyEqualsAndHashCode(includes=['id'])
class SomeObjectTO {
// some fields....
}

// Error in eclipse problems view during compile
The attribute includes is undefined for the annotation type MyEqualsAndHashCode

This worked prior to 11/09/2016 snapshot and still doesn't work in 11/10/2016 snapshot.

Metadata

Metadata

Assignees

No one assigned

    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