Fix visibility on static fields in interface include in class.

Print target for field access only if needed
Is it related to this pull request?