org.hibernate.annotations.common.reflection.java.generics
public class IdentityTypeEnvironment extends java.lang.Object implements TypeEnvironment
Type
for itself.Modifier and Type | Field and Description |
---|---|
static TypeEnvironment |
INSTANCE |
public static final TypeEnvironment INSTANCE
public java.lang.reflect.Type bind(java.lang.reflect.Type type)
TypeEnvironment
Type
is a Class
,
then it's guaranteed to be a regular Java Class
. In all
other cases, this method might return a custom implementation of some
interface that extends Type
. Be sure not to mix these
objects with Java's implementations of Type
to avoid
potential identity problems.
This class does not support bindings involving inner classes or
upper/lower bounds.bind
in interface TypeEnvironment
public java.lang.String toString()
toString
in class java.lang.Object