package ex;
import java.util.HashSet;
import java.util.Set;

public class COM_Sample {

    public void test1() {
    }

    public String test2(int i) {
        return String.valueOf(i);
    }

    public Set<String> test3(String a, String b, String c) {
        Set<String> ss = new HashSet<String>();
        ss.add(a);
        ss.add(b);
        ss.add(c);
        return ss;
    }

    public boolean test4(int w, double x, String y, boolean z) {
        return z;
    }

    protected void fpEnhanceAccess() {
    }

    public static class Derived extends COM_Sample {
        @Override
        public void test1() {
        }

        @Override
        public Set<String> test3(String a, String b, String c) {
            Set<String> ss = new HashSet<String>();
            ss.add(a);
            ss.add(b);
            ss.add(c);
            return ss;
        }

        @Override
        public String test2(int i) {
            return String.valueOf(i);
        }

        @Override
        public boolean test4(int w, double x, String y, boolean z) {
            return super.test4(w, x, y, z);
        }

        @Override
        public void fpEnhanceAccess() {
        }
    }
}

interface Inf {
    void m1();

    void m2();
}

abstract class c1 implements Inf {
    @Override
    public void m1() {
    }
}

abstract class c2 extends c1 {
    @Override
    public void m2() {
    }
}

abstract class s1 {
    public static final String FOO = "foo";

    public String getFoo() {
        return FOO;
    }
}

abstract class s2 extends s1 {
    public static final String FOO = "foo2";

    @Override
    public String getFoo() {
        return FOO;
    }
}

@@ -5,16 +5,17 @@
 age ex;%0A
+%0A
 import j
@@ -279,38 +279,32 @@
 s = new HashSet%3C
-String
 %3E();%0A        ss.
@@ -747,22 +747,16 @@
 HashSet%3C
-String
 %3E();%0A   
@@ -1621,32 +1621,32 @@
 ring getFoo() %7B%0A
-
         return F
@@ -1637,28 +1637,211 @@
         return FOO;%0A    %7D%0A%7D%0A
+%0Aclass NonSync %7B%0A    public int foo() %7B%0A        return 42;%0A    %7D%0A%7D%0A%0Aclass Sync extends NonSync %7B%0A    @Override%0A    public synchronized int foo() %7B%0A        return super.foo();%0A    %7D%0A%7D%0A

Add COM fp as shown in issue #225