This commit is contained in:
Looly
2022-10-09 01:12:02 +08:00
parent bcdbf5537c
commit 3ece54bf58
14 changed files with 312 additions and 185 deletions

View File

@@ -0,0 +1,23 @@
package cn.hutool.core.reflect;
import java.lang.reflect.Type;
/**
* 空类型表示
*
* @author looly
* @since 6.0.0
*/
public class NullType implements Type {
/**
* 单例对象
*/
public static NullType INSTANCE = new NullType();
private NullType(){}
@Override
public String toString() {
return "Type of null";
}
}