mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
inline superclass: process default/implicit constructors (IDEADEV-41326)
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
Test() {
|
||||
System.out.println("Super");
|
||||
System.out.println("Test");
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Super {
|
||||
Super() {
|
||||
System.out.println("Super");
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Test extends Super{
|
||||
Test() {
|
||||
System.out.println("Test");
|
||||
}
|
||||
}
|
||||
+2
-1
@@ -1,5 +1,6 @@
|
||||
class Test {
|
||||
Test(String s){super(s);}
|
||||
Test(String s){
|
||||
}
|
||||
|
||||
void foo() {
|
||||
Test s = new Test("");
|
||||
|
||||
+6
@@ -0,0 +1,6 @@
|
||||
class Test {
|
||||
|
||||
Test() {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
class Super {
|
||||
Super() {
|
||||
System.out.println("");
|
||||
}
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
class Test extends Super{
|
||||
|
||||
}
|
||||
+4
-2
@@ -2,8 +2,10 @@ class Test {
|
||||
String s;
|
||||
|
||||
Test(String s){
|
||||
super(s);
|
||||
System.out.println("hello");
|
||||
if (s != null) {
|
||||
this.s = s;
|
||||
}
|
||||
System.out.println("hello");
|
||||
}
|
||||
|
||||
void foo() {
|
||||
|
||||
Reference in New Issue
Block a user