Skip to content
This repository has been archived by the owner on Mar 26, 2020. It is now read-only.

Java flags does not have ALL_OPTS and NONE_OPTS #407

Open
paulocoutinhox opened this issue Oct 5, 2018 · 0 comments
Open

Java flags does not have ALL_OPTS and NONE_OPTS #407

paulocoutinhox opened this issue Oct 5, 2018 · 0 comments

Comments

@paulocoutinhox
Copy link

Hi,

The djinni generated java flags doest not come with all opts and none opts. My suggestion is add the following constants to solve it:

public static final EnumSet<MyFlagClass> ALL_OPTS = EnumSet.allOf(MyFlagClass.class);
public static final EnumSet<MyFlagClass> NONE_OPTS = EnumSet.noneOf(MyFlagClass.class);

Today it is generating it:

https://github.com/ezored/dependency-logger/blob/master/build/djinni/java-output/ezored/util/LoggerLevel.java

Thanks.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants