rename records components (IDEA-228462)

GitOrigin-RevId: f673a1841f9f8ca454a73b9f2a38b3e7edacbf65
This commit is contained in:
Anna.Kozlova
2020-01-29 19:34:36 +00:00
committed by intellij-monorepo-bot
parent c936621849
commit 90d15bfaf0
11 changed files with 108 additions and 2 deletions
@@ -0,0 +1,8 @@
interface IBar {
int bar();
}
record Foo(int bar) implements IBar{
public Foo { this.bar = b<caret>ar; }
public int bar() { return bar; }
public int test() { return bar(); }
}
@@ -0,0 +1,8 @@
interface IBar {
int baz();
}
record Foo(int baz) implements IBar{
public Foo { this.baz = b<caret>az; }
public int baz() { return baz; }
public int test() { return baz(); }
}
@@ -0,0 +1,5 @@
record Foo(int bar) {
public Foo { this.bar = bar; }
public int b<caret>ar() { return bar; }
public int test() { return bar(); }
}
@@ -0,0 +1,5 @@
record Foo(int baz) {
public Foo { this.baz = baz; }
public int b<caret>az() { return baz; }
public int test() { return baz(); }
}
@@ -0,0 +1,4 @@
record Foo(int b<caret>ar) {
public Foo { this.bar = bar; }
public int test() { return bar(); }
}
@@ -0,0 +1,4 @@
record Foo(int b<caret>az) {
public Foo { this.baz = baz; }
public int test() { return baz(); }
}