Class CompoundTypeEnvironment
java.lang.Object
org.hibernate.annotations.common.reflection.java.generics.CompoundTypeEnvironment
- All Implemented Interfaces:
TypeEnvironment
A composition of two
TypeEnvironment functions.-
Method Summary
Modifier and TypeMethodDescriptionBinds as many generic components of the given type as possible in this context.static TypeEnvironmentbooleaninthashCode()toString()
-
Method Details
-
create
-
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.
-
equals
-
hashCode
public int hashCode() -
toString
-