@Override public String toString() { return declaringType.getName() + "(" + Argument.toString(arguments) + ")"; }
@Override public String toString() { return declaringType.getName() + "(" + Argument.toString(arguments) + ")"; }
private Constructor<T> resolveConstructor() { Constructor<T> constructor = this.constructor; if (constructor == null) { synchronized (this) { // double check constructor = this.constructor; if (constructor == null) { constructor = ReflectionUtils.findConstructor(declaringType, Argument.toClassArray(arguments)) .orElseThrow(() -> new BeanInstantiationException( declaringComponent, "No constructor found for arguments: " + Argument.toString(arguments) ) ); this.constructor = constructor; } } } return constructor; }
@Override public String toString() { String text = Argument.toString(getArguments()); return getReturnType().getType().getSimpleName() + " " + getMethodName() + "(" + text + ")"; }
@Override public String toString() { String text = Argument.toString(getArguments()); return getReturnType().getType().getSimpleName() + " " + getMethodName() + "(" + text + ")"; }
private Constructor<T> resolveConstructor() { Constructor<T> constructor = this.constructor; if (constructor == null) { synchronized (this) { // double check constructor = this.constructor; if (constructor == null) { constructor = ReflectionUtils.findConstructor(declaringType, Argument.toClassArray(arguments)) .orElseThrow(() -> new BeanInstantiationException( declaringComponent, "No constructor found for arguments: " + Argument.toString(arguments) ) ); this.constructor = constructor; } } } return constructor; }