Package org.hibernate.models.internal
Class ArrayTypeDetailsImpl
java.lang.Object
org.hibernate.models.internal.ArrayTypeDetailsImpl
- All Implemented Interfaces:
ArrayTypeDetails,ClassBasedTypeDetails,TypeDetails,TypeVariableScope
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.models.spi.TypeDetails
TypeDetails.Kind -
Constructor Summary
ConstructorsConstructorDescriptionArrayTypeDetailsImpl(ClassDetails arrayClassDetails, TypeDetails constituentType) -
Method Summary
Modifier and TypeMethodDescriptionbooleanintgetName()inthashCode()booleanisImplementor(Class<?> checkType) Whether the described class is an implementor of the givencheckType.resolveTypeVariable(TypeVariableDetails typeVariable) Resolve the type of the provided type variable relative to this scope.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.hibernate.models.spi.ArrayTypeDetails
asArrayType, getClassDetails, getTypeKindMethods inherited from interface org.hibernate.models.spi.TypeDetails
asClassType, asParameterizedType, asPrimitiveType, asTypeVariable, asTypeVariableReference, asVoidType, asWildcardType, determineRawClass, determineRelativeType, isResolved
-
Constructor Details
-
ArrayTypeDetailsImpl
-
-
Method Details
-
getArrayClassDetails
- Specified by:
getArrayClassDetailsin interfaceArrayTypeDetails
-
getConstituentType
- Specified by:
getConstituentTypein interfaceArrayTypeDetails
-
getDimensions
public int getDimensions()- Specified by:
getDimensionsin interfaceArrayTypeDetails
-
getName
- Specified by:
getNamein interfaceClassBasedTypeDetails- Specified by:
getNamein interfaceTypeDetails
-
isImplementor
Description copied from interface:TypeDetailsWhether the described class is an implementor of the givencheckType.- Specified by:
isImplementorin interfaceClassBasedTypeDetails- Specified by:
isImplementorin interfaceTypeDetails
-
resolveTypeVariable
Description copied from interface:TypeVariableScopeResolve the type of the provided type variable relative to this scope. For example, givenclass
A call to this method on theThing<I extends Number>{ I id; }Thingscope with the type variable representingIwill return theI extends Numbertype variable definition itself. If this scope defines a corresponding type argument, the concrete type is returned. For example, givenclass
This method will yield theStuff extends Thing<Integer>{ }Integertype details.- Specified by:
resolveTypeVariablein interfaceTypeVariableScope- Parameters:
typeVariable- The type variable to resolve- Returns:
- The type variable's resolved type, or
nullif none could be found
-
equals
-
hashCode
public int hashCode()
-