GenericType (PsiExpression expression) { final PsiClass klass = ClassUtils.getContainingClass(expression); return klass == null ? JavaTypes.INSTANCE.getANY() : JavaTypes.INSTANCE.fromPsiClass(klass); }