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

Java flags does not have ALL_OPTS and NONE_OPTS #407

@paulocoutinhox

Description

@paulocoutinhox

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions