@Test public void getSetAnnotatedElement() throws Exception { ConversionContext ctx = new ConversionContext.Builder("getAnnotatedElement", TypeLiteral.of(List.class)).build(); assertThat(ctx.getAnnotatedElement()).isNull(); ctx = new ConversionContext.Builder(TypeLiteral.of(List.class)).setAnnotatedElement(MY_ANNOTATED_ELEMENT).build(); assertThat(ctx.getAnnotatedElement()).isEqualTo(MY_ANNOTATED_ELEMENT); }
public AnnotatedElement getAnnotatedElement(){ return annotatedElement; }
ConversionContext { public AnnotatedElement getAnnotatedElement(){ return annotatedElement; } }
ConversionContext { public AnnotatedElement getAnnotatedElement(){ return annotatedElement; } protected  ConversionContext(Builder builder); }
ConversionContext { public AnnotatedElement getAnnotatedElement(){ return annotatedElement; } 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 { public AnnotatedElement getAnnotatedElement(){ return annotatedElement; } 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; }