qualifiedName.addName(f.newName(methodBinding.getDeclaringClass().getName().toCharArray()));
qualifiedName.addName(new NameInfo(methodInvocation.getName()).getName());
call = f.newIdExpression(qualifiedName);
} else {
final Expression qualifier = methodInvocation.getExpression();
final ICPPASTFieldReference fieldReference = f.newFieldReference(new NameInfo(methodInvocation.getName()).getName(), new ExpressionInfo(qualifier, typeDeclaration, compilationUnitInfo).getExpression());
final ITypeBinding typeBinding = qualifier.resolveTypeBinding();
if ((typeBinding != null) && !(typeBinding.isPrimitive() || typeBinding.isEnum())) {
fieldReference.setIsPointerDereference(true);
}
call = fieldReference;
}
} else {
call = new ExpressionInfo(methodInvocation.getName(), typeDeclaration, compilationUnitInfo).getExpression();