Lines Matching refs:Class
51 private static final Class[] emptyClass = new Class[0];
61 private static final ThreadLocal<Map<Class, WeakReference<Constructor>>> tls = new ThreadLocal<Map<Class,WeakReference<Constructor>>>() {
63 public Map<Class,WeakReference<Constructor>> initialValue() {
64 return new WeakHashMap<Class,WeakReference<Constructor>>();
81 public static <T> T create0( final Class<T> clazz ) throws IllegalAccessException, InvocationTargetException, InstantiationException {
82 Map<Class,WeakReference<Constructor>> m = tls.get();
125 public static <T> T create( Class<T> clazz ) {
196 public static <T> Class<? extends T> inferImplClass(Class<T> fieldType, Class[] knownImplClasses) {
200 for( Class<?> impl : knownImplClasses ) {