boolean (PsiType type, PsiElement context) { type = PsiPrimitiveType.getOptionallyUnboxedType(type); return type != null && (PsiTypes.doubleType().equals(type) || PsiTypes.floatType().equals(type) || PsiUtil.isLanguageLevel7OrHigher(context)); }