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 Details

  • Method Details

    • typeArgument

      public Optional<PojoTypeModel<?>> typeArgument(Class<?> rawSuperType, int typeParameterIndex)
    • arrayElementType

      public Optional<PojoTypeModel<?>> arrayElementType()
    • memberTypeReference

      public PojoTypeModel<?> memberTypeReference(Type declaredType)
      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 type declaredType. For instance if declaredType is String.class, the returned type model will be an instance of PojoGenericTypeModel<String>. If declaredType is List<String>, it will be PojoGenericTypeModel<List<String>>, and so on.