summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createEnumConstantFromUsage/afterStaticImport.java
blob: 27470ff5f9f7c60afa8db67c69cab994f2eac66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// "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;
  }
}