resolve static imports for NameExpressions