View Javadoc
1   package com.puppycrawl.tools.checkstyle.checks.coding.defaultcomeslast;
2   
3   public interface InputDefaultComesLastDefaultMethodsInInterface {
4   
5       String toJson(Object one, Object two, Object three);
6   
7       String toJson(String document);
8   
9       default String toJson(Object one) {
10        return toJson(one, one, one);
11      }
12  
13      default String toJson(Object one, Object two) {
14        return toJson(one, one, two);
15      }
16    }