final PsiType myType;
final boolean myChanged;
public TypeView(@NotNull PsiExpression expr) {
PsiType exprType = expr.getType();
exprType = exprType instanceof PsiEllipsisType ? ((PsiEllipsisType)exprType).toArrayType() : exprType;
<BUG>myOriginType = exprType != null ? GenericsUtil.getVariableTypeByExpressionType(exprType) : null;
PsiType type = myTypeEvaluator.evaluateType(expr);</BUG>
type = type instanceof PsiEllipsisType ? ((PsiEllipsisType)type).toArrayType() : type;
<BUG>myType = type != null ? GenericsUtil.getVariableTypeByExpressionType(type) : null;
myChanged = (myOriginType == null || myType == null) ? false : !myType.equals(myOriginType);</BUG>
}

final PsiType myType;
final boolean myChanged;
public TypeView(@NotNull PsiExpression expr) {
PsiType exprType = expr.getType();
exprType = exprType instanceof PsiEllipsisType ? ((PsiEllipsisType)exprType).toArrayType() : exprType;
myOriginType = GenericsUtil.getVariableTypeByExpressionType(exprType);
PsiType type = myTypeEvaluator.evaluateType(expr);
type = type instanceof PsiEllipsisType ? ((PsiEllipsisType)type).toArrayType() : type;
myType = GenericsUtil.getVariableTypeByExpressionType(type);
myChanged = (myOriginType == null || myType == null) ? false : !myType.equals(myOriginType);
}
