@Test public void testGetConverter() { checkConverter(BigInteger.class.getName(), BigIntegerToLongConverter.class); checkConverter(Byte.class.getName(), ByteToLongConverter.class); checkConverter(byte.class.getName(), ByteToLongConverter.class); checkConverter(Integer.class.getName(), IntegerToLongConverter.class); checkConverter(int.class.getName(), IntegerToLongConverter.class); checkConverter(Short.class.getName(), ShortToLongConverter.class); checkConverter(short.class.getName(), ShortToLongConverter.class); }
@Override public Converter getConverter() { return ValueConvertersFactory.getConverterForType(field.getStandaloneClassName()); }
IntegerBoxFieldRenderer extends FieldRenderer<IntegerBoxFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override public Converter getConverter() { return ValueConvertersFactory.getConverterForType(field.getStandaloneClassName()); } }
IntegerBoxFieldRenderer extends FieldRenderer<IntegerBoxFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override public Converter getConverter() { return ValueConvertersFactory.getConverterForType(field.getStandaloneClassName()); } @Inject  IntegerBoxFieldRenderer(IntegerBox integerBox); }
IntegerBoxFieldRenderer extends FieldRenderer<IntegerBoxFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override public Converter getConverter() { return ValueConvertersFactory.getConverterForType(field.getStandaloneClassName()); } @Inject  IntegerBoxFieldRenderer(IntegerBox integerBox); @Override String getName(); @Override Converter getConverter(); }
IntegerBoxFieldRenderer extends FieldRenderer<IntegerBoxFieldDefinition, DefaultFormGroup> implements RequiresValueConverter { @Override public Converter getConverter() { return ValueConvertersFactory.getConverterForType(field.getStandaloneClassName()); } @Inject  IntegerBoxFieldRenderer(IntegerBox integerBox); @Override String getName(); @Override Converter getConverter();  }