@Test public void testAbstractValueSpecifierWithObject(){ ValueBuilder valueBuilder = new ValueBuilder(); String name = "attr-name"; Object value = "attr-value"; valueBuilder.withAttribute(Attribute.Name.valueOf(name)).setValue(value); }
protected abstract void setValue(Object value);
AbstractValueSpecifier implements ValueSpecifier<B> { protected abstract void setValue(Object value); }
AbstractValueSpecifier implements ValueSpecifier<B> { protected abstract void setValue(Object value); protected  AbstractValueSpecifier(B builder, Attribute.Name name); }
AbstractValueSpecifier implements ValueSpecifier<B> { protected abstract void setValue(Object value); protected  AbstractValueSpecifier(B builder, Attribute.Name name); @Override final B value(String value); @Override final B value(Integer value); @Override final B value(Double value); @Override final B value(Boolean value); @Override final B value(Instant value); @Override B value(Object value, TypeConverter.Conversion<T> converter); }
AbstractValueSpecifier implements ValueSpecifier<B> { protected abstract void setValue(Object value); protected  AbstractValueSpecifier(B builder, Attribute.Name name); @Override final B value(String value); @Override final B value(Integer value); @Override final B value(Double value); @Override final B value(Boolean value); @Override final B value(Instant value); @Override B value(Object value, TypeConverter.Conversion<T> converter);  }