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