Invalid function declaration

The class is a stub, but the error was signaled by my NetBeans IDE automatic syntax check