Class GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T>
java.lang.Object
org.hibernate.search.mapper.pojo.model.spi.GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T>
- Enclosing class:
- GenericContextAwarePojoGenericTypeModel<T>
public static class GenericContextAwarePojoGenericTypeModel.RawTypeDeclaringContext<T>
extends Object
-
Constructor Summary
ConstructorsConstructorDescriptionRawTypeDeclaringContext
(GenericContextAwarePojoGenericTypeModel.Helper helper, Class<T> rawType) -
Method Summary
Modifier and TypeMethodDescriptionmemberTypeReference
(Type declaredType) typeArgument
(Class<?> rawSuperType, int typeParameterIndex)
-
Constructor Details
-
RawTypeDeclaringContext
public RawTypeDeclaringContext(GenericContextAwarePojoGenericTypeModel.Helper helper, Class<T> rawType)
-
-
Method Details
-
typeArgument
-
arrayElementType
-
memberTypeReference
- Parameters:
declaredType
- The type to create a generic type model for.- Returns:
- A generic type model for
declaredType
in this context. The type parameter can safely be assumed to be exactly the typedeclaredType
. For instance ifdeclaredType
isString.class
, the returned type model will be an instance ofPojoGenericTypeModel<String>
. IfdeclaredType
isList<String>
, it will bePojoGenericTypeModel<List<String>>
, and so on.
-