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;
}
}