blob: 4838091a461a7db48fdadfa9a782d84972e0fb30 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
package com.puppycrawl.tools.checkstyle.checks.coding;
public interface InputDefaultComesLast2 {
String toJson(Object one, Object two, Object three);
String toJson(String document);
default String toJson(Object one) {
return toJson(one, one, one);
}
default String toJson(Object one, Object two) {
return toJson(one, one, two);
}
}
|