插件开发工具库,推荐依赖该工具库。
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
377 B

package com.fanruan.api.util;
import com.fr.stable.StableUtils;
public class StableKit {
/**
* 判断class1是否是class2的子类实例化
* @param class1
* @param class2
* @return 返回判断结果
*/
public static boolean classInstanceOf(Class class1, Class class2) {
return StableUtils.classInstanceOf(class1, class2);
}
}