Program program = createAndParse(str);
ExpressionStatement statement = (ExpressionStatement) program
.statements().get(0);
Assignment assignment = (Assignment) statement.getExpression();
InfixExpression infixExpression = (InfixExpression) assignment
.getRightHandSide();
ITypeBinding expressionBinding = infixExpression.resolveTypeBinding();
Assert.assertTrue(expressionBinding.getKind() == IBinding.TYPE);
// TODO
}