mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-18 09:34:34 +07:00
suggest several parameters when delegating
This commit is contained in:
+13
@@ -0,0 +1,13 @@
|
||||
import java.io.File;
|
||||
|
||||
public interface Zoo {
|
||||
void foo(String s, File file);
|
||||
}
|
||||
|
||||
class ZooImpl implements Zoo {
|
||||
private Zoo delegate;
|
||||
@Override
|
||||
public void foo(String s, File file) {
|
||||
delegate.foo(s, file);<caret>
|
||||
}
|
||||
}
|
||||
+13
@@ -0,0 +1,13 @@
|
||||
import java.io.File;
|
||||
|
||||
public interface Zoo {
|
||||
void foo(String s, File file);
|
||||
}
|
||||
|
||||
class ZooImpl implements Zoo {
|
||||
private Zoo delegate;
|
||||
@Override
|
||||
public void foo(String s, File file) {
|
||||
delegate.foo(<caret>);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user