extract method: reject containing classes when members were called through inheritance chain

This commit is contained in:
Anna Kozlova
2013-05-29 17:48:38 +04:00
parent 46c05691a6
commit 3b736aca09
4 changed files with 42 additions and 0 deletions
@@ -0,0 +1,17 @@
public class Foo {
public void update() {}
}
class FooBar {
{
Foo tm = new Foo() {
{
newMethod();
}
private void newMethod() {
update();
}
};
}
}