src/main/java/com/rockagen/commons/util/ReflexUtil.java
public static Class<?>[] getInterfacesGenricClasses(final Class<?> clazz) {

        Type[] types = getInterfacesGenricTypes(clazz);
        Class<?>[] clazzs = new Class<?>[types.length];
        for (int i = 0; i < types.length; i++) {
            clazzs[i] =(Class<?>)types[i];
        }
        return clazzs;

    }
public static Class<?>[] getInterfacesGenricClasses(final Class<?> clazz) {

        Type[] types = getInterfacesGenricTypes(clazz);
        Class<?>[] clazzs = new Class<?>[types.length];
        for (int i = 0; i < types.length; i++) {
            clazzs[i] =(Class<?>)types[i];
        }
        return clazzs;

    }
obtained the interface generic parameter classes
<p>
for example:
</p>
<code>
ClassB&lt;T&gt; implements ClassA&lt;T&gt;
</code>

@param clazz {@link java.lang.Class}
@return Classes