Fixed generating method calls from same module when inlining.
~Fixed generating method calls from same module when inlining.
Reused utility method getDirectMember.