mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 06:11:42 +07:00
generate constructor: place varargs from base constructor as last parameter (IDEA-142811)
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
class Base {
|
||||
public Base(String... ignored) { }
|
||||
}
|
||||
class Derived extends Base {
|
||||
int i;
|
||||
|
||||
public Derived(int i, String... ignored) {
|
||||
super(ignored);
|
||||
this.i = i;
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
class Base {
|
||||
public Base(String... ignored) { }
|
||||
}
|
||||
class Derived extends Base {
|
||||
int i;
|
||||
|
||||
<caret>
|
||||
}
|
||||
Reference in New Issue
Block a user