Using
Eclipse Build id: 20230608-1333
Eclipse Groovy Development Tools 5.0.0.v202306301519-e2306
For a class:
import grails.gorm.annotation.Entity
import grails.mongodb.MongoEntity
@Entity
class Game implements MongoEntity<Game> {}
where the MongoEntity defines the methods like:
@CompileStatic
trait MongoEntity<D> implements GormEntity<D>, DynamicAttributes {
static MongoCollection<Document> getCollection() {
currentMongoStaticApi().getCollection()
}
}
If I use the class in the code:

it compiles and runs just fine, but the trait methods are underlined as "unknown" and also not resolved in autocomplete.
Using
Eclipse Build id: 20230608-1333Eclipse Groovy Development Tools 5.0.0.v202306301519-e2306For a class:
where the
MongoEntitydefines the methods like:If I use the class in the code:
it compiles and runs just fine, but the trait methods are underlined as "unknown" and also not resolved in autocomplete.