All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cn.featherfly.common.lang.reflect.GenericClass Maven / Gradle / Ivy

The newest version!

package cn.featherfly.common.lang.reflect;

import cn.featherfly.common.lang.AssertIllegalArgument;
import cn.featherfly.common.lang.GenericType;

/**
 * 

* GenericClass *

* * @param 类型 * @author zhongj */ public class GenericClass implements GenericType { private Class c; /** * @param c classType */ public GenericClass(Class c) { AssertIllegalArgument.isNotNull(c, "Class c"); this.c = c; } /** * {@inheritDoc} */ @Override public Class getType() { return c; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy