Added return type to JppMethod to determine whether we should add 'return' in method body