code: private void filterJPAParameterInfo(Type type, String name, String fieldName) {
          String attributeName = getAttributeName(fieldName);
          Attribute entityAttribute =
              ((MetamodelImpl) kunderaMetadata.getApplicationMetadata().getMetamodel(persistenceUnit))
                  .getEntityAttribute(entityClass, attributeName);
          Class fieldType = entityAttribute.getJavaType();
  
          if (type.equals(Type.INDEXED)) {
              typedParameter.addJPAParameter(new JPAParameter(null, Integer.valueOf(name), fieldType));
          } else {
              typedParameter.addJPAParameter(new JPAParameter(name, null, fieldType));
          }
      }
docs: Filter jpa parameter info.
  
  @param type
  the type
  @param name
  the name
  @param fieldName
  the field name