show setting with generate annotations right on extract method dialog

This commit is contained in:
Anna Kozlova
2014-11-28 15:22:31 +01:00
parent 1d6f2590bf
commit f0a876431a
18 changed files with 73 additions and 25 deletions
@@ -1,3 +1,5 @@
import org.jetbrains.annotations.NotNull;
import java.util.*;
class C {
@@ -8,6 +10,7 @@ class C {
List l1 = newMethod(new Object[0]);
}
@NotNull
private ArrayList newMethod(Object[] o) {
return new ArrayList(Arrays.asList(o));
}