类 ClassUtility
- java.lang.Object
-
- tech.testnx.cah.common.utils.ClassUtility
-
public class ClassUtility extends Object
- 作者:
- Yun
-
-
字段概要
字段 修饰符和类型 字段 说明 static ClassUtilityINSTANCE
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 booleancontainsInterface(Class<?> subClass, Class<?> interfaceClass)Verify if the subClass has the specific interfacebooleancontainsSuperClass(Class<?> subClass, Class<?> superClass)Verify if the subClass has the specific super classbooleanisBooleanType(Parameter p)booleanisByteType(Parameter p)booleanisDoubleType(Parameter p)booleanisFloatType(Parameter p)booleanisIntegerType(Parameter p)booleanisLongType(Parameter p)booleanisShortType(Parameter p)
-
-
-
字段详细资料
-
INSTANCE
public static final ClassUtility INSTANCE
-
-
方法详细资料
-
isBooleanType
public boolean isBooleanType(Parameter p)
-
isByteType
public boolean isByteType(Parameter p)
-
isShortType
public boolean isShortType(Parameter p)
-
isIntegerType
public boolean isIntegerType(Parameter p)
-
isLongType
public boolean isLongType(Parameter p)
-
isFloatType
public boolean isFloatType(Parameter p)
-
isDoubleType
public boolean isDoubleType(Parameter p)
-
containsInterface
public boolean containsInterface(Class<?> subClass, Class<?> interfaceClass)
Verify if the subClass has the specific interface
-
-