mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-08-26 00:11:26 +07:00
bind parameter to field: ensure applicable field is chosen/skip already assigned (IDEA-160180)
This commit is contained in:
+11
@@ -0,0 +1,11 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
class BindField {
|
||||
private final String myAgent;
|
||||
private final Integer myInstrumentAgent;
|
||||
|
||||
public BindField(String agent, Integer instrumentAgent) {
|
||||
|
||||
myAgent = agent;
|
||||
myInstrumentAgent = instrumentAgent;
|
||||
}
|
||||
}
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
// "Bind constructor parameters to fields" "true"
|
||||
class BindField {
|
||||
private final String myAgent;
|
||||
|
||||
public BindField(String agent, Integer instrum<caret>entAgent) {
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user