I call a method with a generic return type like this:

```
public static <T extends HotelBean> List<T> fill(Class<T> c) throws InstantiationException, IllegalAccessException {
    List<T> list = new ArrayList<>();
    for (int i = 0; i <= 2; i++) {
        T t = c.newInstance();
        list.add(t);
    }
    return list;
}

```

Is there a way to create an instance inside this method without giving the `Class` as method paramter? (`Class<T> c`)