Class IdentityTypeEnvironment
java.lang.Object
org.hibernate.annotations.common.reflection.java.generics.IdentityTypeEnvironment
- All Implemented Interfaces:
TypeEnvironment
Substitutes a
Type for itself.-
Field Summary
Fields -
Method Summary
-
Field Details
-
INSTANCE
-
-
Method Details
-
bind
Description copied from interface:TypeEnvironmentBinds as many generic components of the given type as possible in this context. Warning: if the returnedTypeis aClass, then it's guaranteed to be a regular JavaClass. In all other cases, this method might return a custom implementation of some interface that extendsType. Be sure not to mix these objects with Java's implementations ofTypeto avoid potential identity problems. This class does not support bindings involving inner classes or upper/lower bounds.- Specified by:
bindin interfaceTypeEnvironment- Returns:
- a type where the generic arguments have been replaced by raw classes whenever this is possible.
-
toString
-