mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-05 00:36:13 +07:00
GitOrigin-RevId: b0d9510a97e4d5af5c6dea8e640938268b7874c4
11 lines
147 B
Java
11 lines
147 B
Java
// "Create enum constant 'SUPERUSER'" "true"
|
|
|
|
|
|
enum Role {
|
|
USER, ADMIN, SUPERUSER;
|
|
}
|
|
class User {
|
|
String x() {
|
|
Role.SUPERUSER.name();
|
|
}
|
|
} |