Conversion handler feature for java