package com.siyeh.igtest.performance.tail_recursion;


interface I {
  int get();
}
class Test {

  private int bar() {
    final I s = new I() {
      @Override
      public int get() {
        return bar();
      }
    };
    return 0;
  }

}
@@ -236,9 +236,101 @@
 0;%0A  %7D%0A%0A
+  private int foo() %7B%0A    final I i = () -%3E %7B%0A      return foo();%0A    %7D;%0A    return 0;%0A  %7D%0A%0A
 %7D

add test case