import java.util.*; class Foo { void foo() {} void foo1() {} void bar() {} void xyz(T l) {} { foo(); this.foo(); this.foo(); this.bar(); this.bar(); this.<String, Integer>foo1(); this.xyz(Integer.valueOf("27")); ArrayList list = new ArrayList(); } }