void () { registerConverter(new NumberValueConverter(byte.class, false), PsiTypes.byteType()); registerConverter(new NumberValueConverter(Byte.class, true), Byte.class); registerConverter(new NumberValueConverter(short.class, false), PsiTypes.shortType()); registerConverter(new NumberValueConverter(Short.class, true), Short.class); registerConverter(new NumberValueConverter(int.class, false), PsiTypes.intType()); registerConverter(new NumberValueConverter(Integer.class, true), Integer.class); registerConverter(new NumberValueConverter(long.class, false), PsiTypes.longType()); registerConverter(new NumberValueConverter(Long.class, true), Long.class); registerConverter(new NumberValueConverter(float.class, false), PsiTypes.floatType()); registerConverter(new NumberValueConverter(Float.class, true), Float.class); registerConverter(new NumberValueConverter(double.class, false), PsiTypes.doubleType()); registerConverter(new NumberValueConverter(Double.class, true), Double.class); registerConverter(new NumberValueConverter(BigDecimal.class, true), BigDecimal.class); registerConverter(new NumberValueConverter(BigInteger.class, true), BigInteger.class); }