Early exit for static fixup if no direct methods.

Change-Id: I401746e48259a98fb0c80144ff5310380889b154
Merge "Early exit for static fixup if no direct methods." into kk44