Here you can find the source of newArray(Class
public static <E> E[] newArray(Class<E> elementType, int length)
//package com.java2s; //License from project: Open Source License public class Main { public static <E> E[] newArray(Class<E> elementType, int length) { return null; }//from w w w . j a v a 2 s. c o m }