Package org.hibernate.models.internal
Class VoidTypeDetailsImpl
java.lang.Object
org.hibernate.models.internal.VoidTypeDetailsImpl
- All Implemented Interfaces:
ClassBasedTypeDetails,TypeDetails,TypeVariableScope,VoidTypeDetails
TypeDetails referring to a void or Void
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.hibernate.models.spi.TypeDetails
TypeDetails.Kind -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCast this TypeDetails as a VoidTypeDetails, throwing an exception if it cannot be.booleaninthashCode()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.ClassBasedTypeDetails
getName, isImplementorMethods inherited from interface org.hibernate.models.spi.TypeDetails
asArrayType, asClassType, asParameterizedType, asPrimitiveType, asTypeVariable, asTypeVariableReference, asWildcardType, determineRawClass, determineRelativeType, isResolved
-
Constructor Details
-
VoidTypeDetailsImpl
-
-
Method Details
-
getClassDetails
- Specified by:
getClassDetailsin interfaceClassBasedTypeDetails
-
getTypeKind
- Specified by:
getTypeKindin interfaceTypeDetails
-
asVoidType
Description copied from interface:TypeDetailsCast this TypeDetails as a VoidTypeDetails, throwing an exception if it cannot be.- Specified by:
asVoidTypein interfaceTypeDetails- Specified by:
asVoidTypein interfaceVoidTypeDetails
-
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()
-