public class Solution {

    public static void main(String[] args) throws Exception {
        SimpleObject<String> stringObject = new StringObject<String>();
    }

    interface SimpleObject<T> {
        SimpleObject<T> getInstance();
    }

    public static class StringObject<String> implements SimpleObject<String> {
        public StringObject<String> getInstance(){
            return this;
        }
    }

}