summaryrefslogtreecommitdiff
path: root/java/java-tests/testData/codeInsight/generateConstructor/afterEnumWithAbstractMethod.java
blob: f12bc94ae24291a18d72dc2be069658f62f64f0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
public enum Operation {
    PLUS {
        int eval(int x, int y) {
            return x + y;
        }
    };

    abstract int eval(int x, int y);

    private Operation() {
    }
}