mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-10 18:09:38 +07:00
IDEA-83600: pull up for local classes
This commit is contained in:
@@ -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(){}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -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(){}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user