mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-05-02 19:28:23 +07:00
change parameter class: allow for constructor calls (IDEA-64657); for variable assignments (IDEA-71592 )
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
// "Make 'A' extend 'B'" "true"
|
||||
class B {}
|
||||
|
||||
class A extends B {
|
||||
A(B b) {
|
||||
}
|
||||
|
||||
A a = new A(this);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Make 'A' extend 'B'" "true"
|
||||
class B {}
|
||||
|
||||
class A extends B {
|
||||
int foo(B b) {
|
||||
B bz = this;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Make 'A' extend 'B'" "true"
|
||||
class B {}
|
||||
|
||||
class A {
|
||||
A(B b) {
|
||||
}
|
||||
|
||||
A a = new A(th<caret>is);
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// "Make 'A' extend 'B'" "true"
|
||||
class B {}
|
||||
|
||||
class A {
|
||||
int foo(B b) {
|
||||
B bz = t<caret>his;
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user