aboutsummaryrefslogtreecommitdiff
path: root/src/test/resources/java/generic-interface-non-generic-methods/com/example/GenericInterface.java
blob: 8ddf1fa2c8ad0be365ca5336e740d9bb49701765 (plain)
1
2
3
4
5
6
7
8
9
10
package com.example;

public class GenericInterface {
    public static String value() {
        Box<String> box = new BoxImpl<>();
        box.set("Hello");
        
        return box.get();
    }
}