summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/daemonCodeAnalyzer/quickFix/createEnumConstantFromUsage/beforeStaticImport.java
blob: e34874cd45e5ef77a91527601a53ad1a41271b0b (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, CRI<caret>ME));

  }

  enum E {
    ACTION;
  }
}