Why this is wrong:
Class extends Number> type = Integer.class; ArrayList = new ArrayList<>();
?
I
You don't even need to pass in an argument:
public ArrayList createAList () { return new ArrayList(); }
Though you may need to explicitly specify the type parameter when calling:
ArrayList intList = this.createAList();