package uk.co.adaptivelogic.forgery;

public class Forgery {
  public <T> static forge(Class<T> type) {
    return type.newInstance();
  }
}

package uk.co.adaptivelogic.forgery;

public class Forgery {
  public <T> static T forge(Class<T> type) {
    return type.newInstance();
  }
}

Update Forgery.java