Skip to content

Add support for enum MIN_VALUE and MAX_VALUE constants #1487

@eric-milles

Description

@eric-milles

Consider the following:

enum Foo {
  BAR, BAZ
}
class Pojo {
  void test() {
    Foo bar = Foo.MIN_VALUE;
  }
}

Groovy enum types provide public, static, final fields MIN_VALUE and MAX_VALUE. These are not yet exposed via the Java model.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions