mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-03 20:33:31 +07:00
GitOrigin-RevId: 3a473c492e709a280d8a06e7364a2af05babf37f
15 lines
386 B
Java
15 lines
386 B
Java
// "Create constructor" "true-preview"
|
|
class Outer {
|
|
public Outer(String s) {
|
|
}
|
|
|
|
void method(Outer other) {
|
|
other.new CreateConstructorFromUsage("parameter"); // invoke "Create constructor" quick fix here
|
|
}
|
|
|
|
class CreateConstructorFromUsage {
|
|
public CreateConstructorFromUsage(String parameter) {
|
|
<selection></selection>
|
|
}
|
|
}
|
|
} |