org.hibernate.annotations.common.reflection.java.generics
Class TypeUtils
java.lang.Object
org.hibernate.annotations.common.reflection.java.generics.TypeUtils
public class TypeUtils
- extends java.lang.Object
- Author:
- Paolo Perrotta
|
Method Summary |
static java.lang.Class<? extends java.util.Collection> |
getCollectionClass(java.lang.reflect.Type type)
|
static boolean |
isArray(java.lang.reflect.Type t)
|
static boolean |
isCollection(java.lang.reflect.Type t)
|
static boolean |
isResolved(java.lang.reflect.Type t)
|
static boolean |
isSimple(java.lang.reflect.Type type)
|
static boolean |
isVoid(java.lang.reflect.Type type)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeUtils
public TypeUtils()
isResolved
public static boolean isResolved(java.lang.reflect.Type t)
getCollectionClass
public static java.lang.Class<? extends java.util.Collection> getCollectionClass(java.lang.reflect.Type type)
isSimple
public static boolean isSimple(java.lang.reflect.Type type)
isVoid
public static boolean isVoid(java.lang.reflect.Type type)
isArray
public static boolean isArray(java.lang.reflect.Type t)
isCollection
public static boolean isCollection(java.lang.reflect.Type t)
Copyright © 2005-2010 Hibernate.org. All Rights Reserved.