mirror of
https://gitflic.ru/project/openide/openide.git
synced 2025-12-17 15:50:53 +07:00
inplace members rename tests
(cherry picked from commit 9db66026eb65ef943da08f6dcf42b0f2a80fe03e)
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
public class Constructor {
|
||||
public Constructor() {
|
||||
}
|
||||
|
||||
public Constructor(int i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
final Constr<caret>uctor constructor = new Constructor();
|
||||
System.out.println(constructor);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Bar {
|
||||
public Bar() {
|
||||
}
|
||||
|
||||
public Bar(int i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
final Bar bar = new Bar();
|
||||
System.out.println(bar);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
void foo(){}
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
void f<caret>oo() {
|
||||
super.foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
void foo(){}
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
void foo() {
|
||||
super.foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Constructor {
|
||||
public Constructor() {
|
||||
}
|
||||
void foo() {
|
||||
final Constructor constructor = new Co<caret>nstructor();
|
||||
System.out.println(constructor);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
public class Bar {
|
||||
public Bar() {
|
||||
}
|
||||
void foo() {
|
||||
final Bar bar = new Bar();
|
||||
System.out.println(bar);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Constructor {
|
||||
public Constructor() {
|
||||
}
|
||||
|
||||
public Constructor(int i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
final Constructor constructor = new Co<caret>nstructor();
|
||||
System.out.println(constructor);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
public class Bar {
|
||||
public Bar() {
|
||||
}
|
||||
|
||||
public Bar(int i) {
|
||||
System.out.println(i);
|
||||
}
|
||||
|
||||
void foo() {
|
||||
final Bar bar = new Bar();
|
||||
System.out.println(bar);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
void foo(){}
|
||||
void bar() {
|
||||
foo();
|
||||
}
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
void f<caret>oo() {
|
||||
super.foo();
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
class Foo {
|
||||
void xxx(){}
|
||||
void bar() {
|
||||
xxx();
|
||||
}
|
||||
}
|
||||
|
||||
class FooImpl extends Foo {
|
||||
void xxx() {
|
||||
super.xxx();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user