aboutsummaryrefslogtreecommitdiffstats
path: root/src/test/test5/JIRA242.java
blob: 312e594cf9a9835326beac9fc66fa5ef17e78103 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package test5;

public class JIRA242 {
    static interface IBooleanSeries {
        public void setValue(boolean value);
    }

    public static class BooleanDataSeries implements IBooleanSeries{
        @Override
        public void setValue(boolean value) {}
    }

    public static class Hello {
        IBooleanSeries BOOL_SERIES;

        public int say() {
            System.out.println("Hello end :) ");
            return 0;
        }

        public IBooleanSeries createBooleanSeriesStep() {
            return new BooleanDataSeries();
        }
    }
}