Proper checking for a qualified name

When i18n plugin is enabled, it looks for classes like "java.lang.Object...)" while highlighting annotations.xml