private static String formatParameter(DependencyGraph graph, Parameter param) {
        final Config config = param.getAnnotation(Config.class);
        final WithState withState = param.getAnnotation(WithState.class);
        if (config != null) {
            return format("        @Config(name=\"%s\", value=\"%s\") %s",
                config.name(),
                config.value(),
                param.getType().getSimpleName()
            );
        } else {
            return format("        %s%s (%s)",
                withState == null ? "" : format("@WithState(%s) ", withState.value().name()),
                param.getType().getSimpleName(),
                graph.getIfPresent(param.getType())
                    .map(node -> String.format(
                        "Implemented as: %s, state: %s",
                        node.getRepresentedType().getSimpleName(),
                        node.getCurrentState().name()
                    ))
                    .orElse("No implementation found")
            );
        }
    }
Default implementation of the {@link InjectorBuilder}-interface.

@author Emil Forslund
@since  1.2.0
common-parent/injector/src/main/java/com/speedment/common/injector/internal/InjectorBuilderImpl.java