boolean (PsiType type) { final String text = type.getCanonicalText(); return PsiTypes.doubleType().equals(type) || CommonClassNames.JAVA_LANG_DOUBLE.equals(text) || PsiTypes.floatType().equals(type) || CommonClassNames.JAVA_LANG_FLOAT.equals(text) || "java.math.BigDecimal".equals(text); }