introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
This commit is contained in:
@@ -37,11 +37,15 @@ import org.springframework.util.ClassUtils;
|
||||
*/
|
||||
public class TypeDescriptor {
|
||||
|
||||
/**
|
||||
* Constant defining an 'unknown' TypeDescriptor.
|
||||
*/
|
||||
/** Constant defining an 'unknown' TypeDescriptor */
|
||||
public static final TypeDescriptor NULL = new TypeDescriptor();
|
||||
|
||||
/** Constant defining a TypeDescriptor for <code>java.lang.Object</code> */
|
||||
public static final TypeDescriptor OBJECT = TypeDescriptor.valueOf(Object.class);
|
||||
|
||||
/** Constant defining a TypeDescriptor for <code>java.lang.String</code> */
|
||||
public static final TypeDescriptor STRING = TypeDescriptor.valueOf(String.class);
|
||||
|
||||
|
||||
private Class<?> type;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user