TypeCastEvaluator (Evaluator operandEvaluator, PsiType castType) { if (castType instanceof PsiPrimitiveType) { return new TypeCastEvaluator(operandEvaluator, castType.getCanonicalText()); } else { return new TypeCastEvaluator(operandEvaluator, new TypeEvaluator(JVMNameUtil.getJVMQualifiedName(castType))); } }