All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kendal.api.Modifier Maven / Gradle / Ivy

The newest version!
package kendal.api;

import com.sun.tools.javac.code.Flags;

public enum Modifier {
    PACKAGE_PRIVATE(0),
    PRIVATE(Flags.PRIVATE),
    PROTECTED(Flags.PROTECTED),
    PUBLIC(Flags.PUBLIC),
    FINAL(Flags.FINAL),
    ABSTRACT(Flags.ABSTRACT),
    STATIC(Flags.STATIC),
    SYNCHRONIZED(Flags.SYNCHRONIZED),
    VOLATILE(Flags.VOLATILE),
    TRANSIENT(Flags.TRANSIENT),
    NATIVE(Flags.NATIVE),
    STRICTFP(Flags.STRICTFP);

    private int flag;

    Modifier(int flag) {
        this.flag = flag;
    }

    public int getFlag() {
        return flag;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy