mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-18 00:20:54 +07:00
21 lines
356 B
Java
21 lines
356 B
Java
// "Create enum constant 'CRIME'" "true"
|
|
import java.util.Arrays;
|
|
import java.util.List;
|
|
|
|
import static AutomaticTypeInference.E.*;
|
|
|
|
class AutomaticTypeInference {
|
|
|
|
AutomaticTypeInference(List<E> gs) {
|
|
}
|
|
|
|
public static void main(String[] args) {
|
|
|
|
new AutomaticTypeInference(Arrays.asList(ACTION, CRIME));
|
|
|
|
}
|
|
|
|
enum E {
|
|
ACTION, CRIME;
|
|
}
|
|
} |