IDEA-83600: pull up for local classes

This commit is contained in:
anna
2012-03-28 11:41:04 +02:00
parent 8d06f7224a
commit b4c42eb076
5 changed files with 45 additions and 4 deletions

View File

@@ -0,0 +1,14 @@
// "Pull method 'foo' to 'Foo' and make it abstract" "true"
public class Test {
void bar() {
abstract class Foo {
abstract void foo();
}
class FooImpl extends Foo {
@Override
void foo(){}
}
}
}

View File

@@ -0,0 +1,12 @@
// "Pull method 'foo' to 'Foo' and make it abstract" "true"
public class Test {
void bar() {
class Foo {}
class FooImpl extends Foo {
@Overr<caret>ide
void foo(){}
}
}
}