boolean (@Nullable PsiType type) { if (type instanceof PsiClassType) { return TYPE_TO_RANK.containsKey(getQualifiedName(type)); } return type instanceof PsiPrimitiveType && TypeConversionUtil.isNumericType(type); }