Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.hibernate.reflection.java.generics
Class TypeSwitch<T>

    java.lang.Object
      org.hibernate.reflection.java.generics.TypeSwitch<T>

    public class TypeSwitch<T>

extends Object

A visitor for the `java.lang.reflect.Type` hierarchy.

Author:
  Davide Marchignoli, Paolo Perrotta

Constructor Summary
`TypeSwitch()`

Method Summary
`T` | `caseClass(Class classType)`
`T` | `caseGenericArrayType(GenericArrayType genericArrayType)`
`T` | `caseParameterizedType(ParameterizedType parameterizedType)`
`T` | `caseTypeVariable(TypeVariable typeVariable)`
`T` | `caseWildcardType(WildcardType wildcardType)`
`T` | `defaultCase(Type t)`
`T` | `doSwitch(Type type)`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### TypeSwitch

    public TypeSwitch()

Method Detail

### doSwitch

    public final T doSwitch(Type type)

### caseWildcardType

    public T caseWildcardType(WildcardType wildcardType)

### caseTypeVariable

    public T caseTypeVariable(TypeVariable typeVariable)

### caseClass

    public T caseClass(Class classType)

### caseGenericArrayType

    public T caseGenericArrayType(GenericArrayType genericArrayType)

### caseParameterizedType

    public T caseParameterizedType(ParameterizedType parameterizedType)

### defaultCase

    public T defaultCase(Type t)

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD