Class TypeEnvironmentFactory
java.lang.Object
org.hibernate.annotations.common.reflection.java.generics.TypeEnvironmentFactory
Returns the type context for a given
Class or ParameterizedType.
Does not support bindings involving inner classes, nor upper/lower bounds.-
Method Summary
Modifier and TypeMethodDescriptionstatic TypeEnvironmentgetEnvironment(Class context) static TypeEnvironmentgetEnvironment(Type context) static TypeEnvironmentgetEnvironment(Type t, TypeEnvironment context) static TypeEnvironment
-
Method Details
-
getEnvironment
- Returns:
- Returns a type environment suitable for resolving types occurring in subclasses of the context class.
-
getEnvironment
-
getEnvironment
-
toApproximatingEnvironment
-