Community
Participate
Working Groups
I20070925 public class X { void bar(Y y) { y.fo<|> // complete here } } interface Y { int foo(); } If you complete after "fo", chances are you want to assign the result of foo() to a local variable. We should offer the creation of the local variable, so that the result of the completion would be: public class X { void bar(Y y) { int i = y.foo(); } } interface Y { int foo(); }