BytecodeCompleter: handle methods