org.jruby.ast.java_signature.Modifier Maven / Gradle / Ivy
package org.jruby.ast.java_signature;
/**
* valid method declaration modifiers
*/
public enum Modifier {
PUBLIC("public"), PROTECTED("protected"), PRIVATE("private"), STATIC("static"),
ABSTRACT("abstract"), FINAL("final"), NATIVE("native"), SYNCHRONIZED("synchronized"),
TRANSIENT("transient"), VOLATILE("volatile"), STRICTFP("strictfp");
private String name;
Modifier(String name) {
this.name = name;
}
@Override
public String toString() {
return name;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy