public static String getConfigurationName(Field field) {
        if (field.getAnnotation(ComplexConfigurationParameter.class) != null) {
            return field.getAnnotation(ComplexConfigurationParameter.class).prefix();
        } else if (StringUtils.isBlank(field.getAnnotation(ConfigurationParameter.class).value())) {
            return field.getName();
        } else {
            return field.getAnnotation(ConfigurationParameter.class).value();
        }
    }
Get the configuration parameter name for configuration parameters.
If an explicit name is provided in the annotation, use that else use the name of the field itself.

@param field name of the field.
@return name of the configuration (either from the annotation or from the field itself)
plc4j/spi/src/main/java/org/apache/plc4x/java/spi/configuration/ConfigurationFactory.java