Here you can find the source of coerce(final Class> klass)
private static <T> Class<T> coerce(final Class<?> klass)
//package com.java2s; //License from project: Open Source License public class Main { private static <T> Class<T> coerce(final Class<?> klass) { @SuppressWarnings("unchecked") final Class<T> result = (Class<T>) klass; return result; }/* w w w . j a va2s. co m*/ }