Skip to content

Groovy-eclipse sees Traits as interfaces and urges to implement its methods #1267

@injecteer

Description

@injecteer

I have a super-class implementing 2 traits:

class CRUDController<T extends MongoEntity> implements ControllerTrait, I18nTrait {...}

and it's sub-class:

class ScreenController extends CRUDController<Screen> {...}

The Eclipse of Version: 2021-03 (4.19.0) with Eclipse Groovy Development Tools 4.2.0.v202106101948-e2103 complains in a sub-class about not implemented methods and as quick fixes suggests to either make the class abstract or implement the methods:

image

The traits must supported also in sub-classes as they are compiled by Groovy compiler (ver. 3) just fine.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions