
cn.featherfly.common.lang.reflect.GenericClass Maven / Gradle / Ivy
package cn.featherfly.common.lang.reflect;
import cn.featherfly.common.lang.AssertIllegalArgument;
import cn.featherfly.common.lang.GenericType;
/**
*
* GenericClass
*
*
* @author 钟冀
*/
public class GenericClass implements GenericType{
private Class c;
/**
* @param c
*/
public GenericClass(Class c) {
AssertIllegalArgument.isNotNull(c);
this.c = c;
}
/**
* {@inheritDoc}
*/
@Override
public Class getType() {
return c;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy