code: public static String printInputParams(JoinPoint joinPoint, String... includeParamNames) {
          try {
              if (joinPoint == null) {
                  return "joinPoint is null";
              }
  
              Signature signature = joinPoint.getSignature();
              if (!(signature instanceof MethodSignature)) {
                  return PRINT_EMPTY_LIST;
              }
  
              Optional<LoggingAspectConfig> config = AopAnnotationUtils.getConfigAnnotation(joinPoint);
  
              String[] includeParams = includeParamNames;
              String[] excludeParams = EMPTY_ARRAY;
              boolean inputCollectionAware = LoggingAspectConfig.DEFAULT_INPUT_COLLECTION_AWARE;
  
              if (config.isPresent()) {
                  if (!config.get().inputDetails()) {
                      return PRINT_HIDDEN;
                  }
                  inputCollectionAware = config.get().inputCollectionAware();
                  if (ArrayUtils.isNotEmpty(config.get().inputIncludeParams())) {
                      includeParams = config.get().inputIncludeParams();
                  }
                  if (ArrayUtils.isEmpty(includeParams) && ArrayUtils.isNotEmpty(config.get().inputExcludeParams())) {
                      excludeParams = config.get().inputExcludeParams();
                  }
              }
  
              MethodSignature ms = (MethodSignature) signature;
              String[] params = ms.getParameterNames();
              return ArrayUtils.isNotEmpty(params) ? renderParams(joinPoint,
                                                                  params,
                                                                  includeParams,
                                                                  excludeParams,
                                                                  inputCollectionAware) : PRINT_EMPTY_LIST;
          } catch (IndexOutOfBoundsException | IllegalArgumentException e) {
              log.warn("Error while print params: {}, params = {}", e, joinPoint.getArgs());
              return "printerror: " + e;
          }
      }
docs: Gets join point input params description string.
  
  @param joinPoint         aspect join point
  @param includeParamNames input parameters names to be printed. NOTE! can be overridden with @{@link
  LoggingAspectConfig}
  @return join point input params description string