added bunch of null-checks to the main visitor class
[Resolver] Couldn't resolve selective static imports.