|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.hibernate.annotations.common.reflection.java.generics.IdentityTypeEnvironment
public class IdentityTypeEnvironment
Substitutes a Type for itself.
| Field Summary | |
|---|---|
static TypeEnvironment |
INSTANCE
|
| Method Summary | |
|---|---|
java.lang.reflect.Type |
bind(java.lang.reflect.Type type)
Binds as many generic components of the given type as possible in this context. |
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final TypeEnvironment INSTANCE
| Method Detail |
|---|
public java.lang.reflect.Type bind(java.lang.reflect.Type type)
TypeEnvironmentType 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 TypeEnvironmentpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||