fix javasource parsing of method with primitive returned types

In the JavaSourceJDom parser, there is a bug preventing the parser to parse method with primitive return types.