@NotNull
  private static GenericType getGenericTypeOfThis(PsiExpression expression) {
    final PsiClass klass = PsiUtil.getContainingClass(expression);

    return klass == null ? JavaTypes.INSTANCE.getANY()
                         : JavaTypes.INSTANCE.fromPsiClass(klass);
  }
@NotNull
  private static GenericType getGenericTypeOfThis(PsiExpression expression)