Is this the correct behavior? Even though it receives the targetLineContents parameter, right now it only uses the line to find the method to generate the dependcy graph for.
E.g., if we analyze the line 15 ("z = a.x;") in the B class, the graph returned by Main.analyze will also contain dependencies for B.n_