Files
openide/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createEnumConstantFromUsage/afterStaticImport.java
Dmitry Avdeev e6681a176d test data fixed
2014-12-06 13:10:10 +03:00

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