Here you can find the source of isBigDecimalAssignable(String javaDataType)
public static boolean isBigDecimalAssignable(String javaDataType)
//package com.java2s; import java.math.BigDecimal; public class Main { public static boolean isBigDecimalAssignable(String javaDataType) { try {//from w w w.j a v a2 s.c o m return BigDecimal.class.isAssignableFrom(Class.forName(javaDataType)); } catch (ClassNotFoundException e) { throw new IllegalArgumentException(e); } } }