mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-25 16:29:28 +00:00
introduced TypeDescriptor.OBJECT and TypeDescriptor.STRING
This commit is contained in:
+7
-3
@@ -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