org.hibernate.annotations.common.reflection.java.generics
Class TypeUtils

java.lang.Object
  extended by org.hibernate.annotations.common.reflection.java.generics.TypeUtils

public class TypeUtils
extends java.lang.Object

Author:
Paolo Perrotta

Constructor Summary
TypeUtils()
           
 
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
 

Constructor Detail

TypeUtils

public TypeUtils()
Method Detail

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-2009 Hibernate.org. All Rights Reserved.