Source

syntactic / convert / source / resource / test / functional / 004-InterfaceInCompUnit.java.convert

Full commit
package net.example;
public class Foo {
  private interface Fwizzle<S> {
    public abstract int fwizzle(Foo foo, S s, boolean bool) ;
  }
public int foo(String str) {
    Fwizzle<CharSequence> fw = new Fwizzle<CharSequence>() {
      public int fwizzle(Foo foo, CharSequence seq, boolean bool) {
        return seq.length()+foo.hc(bool);
      }
    }
;
    return fw.fwizzle(this, str, true);
  }
private int hc(boolean sys) {
    return sys?System.identityHashCode(this):this.hashCode();
  }
}