Wait - are we talking C/C++ here? where a function call, a variable declaration, an expression cast all look identical?
foo();
int foo;
(int)foo;[0] your method declaration has a small problem, it apparently cannot have parenthesis around returned type.