@Test public void testToString() throws Exception { ConversionContext ctx = new ConversionContext.Builder("toString", TypeLiteral.of(List.class)) .addSupportedFormats(MyConverter.class, "0.0.0.0/nnn", "x.x.x.x/yyy").build(); assertThat(ctx.toString()).isEqualTo("ConversionContext{configuration=null, key='toString', " + "targetType=TypeLiteral{type=interface java.util.List}, " + "annotatedElement=null, supportedFormats=[0.0.0.0/nnn (MyConverter), x.x.x.x/yyy (MyConverter)]}"); }
@Override public String toString() { return "ConversionContext{" + "configuration=" + configuration + ", key='" + key + '\'' + ", targetType=" + targetType + ", annotatedElement=" + annotatedElement + ", supportedFormats=" + supportedFormats + '}'; }
ConversionContext { @Override public String toString() { return "ConversionContext{" + "configuration=" + configuration + ", key='" + key + '\'' + ", targetType=" + targetType + ", annotatedElement=" + annotatedElement + ", supportedFormats=" + supportedFormats + '}'; } }
ConversionContext { @Override public String toString() { return "ConversionContext{" + "configuration=" + configuration + ", key='" + key + '\'' + ", targetType=" + targetType + ", annotatedElement=" + annotatedElement + ", supportedFormats=" + supportedFormats + '}'; } protected  ConversionContext(Builder builder); }
ConversionContext { @Override public String toString() { return "ConversionContext{" + "configuration=" + configuration + ", key='" + key + '\'' + ", targetType=" + targetType + ", annotatedElement=" + annotatedElement + ", supportedFormats=" + supportedFormats + '}'; } protected  ConversionContext(Builder builder); String getKey(); List<PropertyValue> getValues(); TypeLiteral<?> getTargetType(); AnnotatedElement getAnnotatedElement(); Configuration getConfiguration(); Map<String, String> getMeta(); void addSupportedFormats(@SuppressWarnings("rawtypes") Class<?> converterType, String... formatDescriptors); List<String> getSupportedFormats(); Builder toBuilder(); @Override String toString(); @Deprecated ConfigurationContext getConfigurationContext(); }
ConversionContext { @Override public String toString() { return "ConversionContext{" + "configuration=" + configuration + ", key='" + key + '\'' + ", targetType=" + targetType + ", annotatedElement=" + annotatedElement + ", supportedFormats=" + supportedFormats + '}'; } protected  ConversionContext(Builder builder); String getKey(); List<PropertyValue> getValues(); TypeLiteral<?> getTargetType(); AnnotatedElement getAnnotatedElement(); Configuration getConfiguration(); Map<String, String> getMeta(); void addSupportedFormats(@SuppressWarnings("rawtypes") Class<?> converterType, String... formatDescriptors); List<String> getSupportedFormats(); Builder toBuilder(); @Override String toString(); @Deprecated ConfigurationContext getConfigurationContext(); static final ConversionContext EMPTY; }