import com.intellij.psi.xml.XmlTag;
import com.intellij.psi.xml.XmlElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public abstract class AbstractConvertContext extends ConvertContext {
<BUG>public final PsiClass findClass(String name, @Nullable final GlobalSearchScope searchScope) {

if (name == null) return null;
final XmlFile file = getFile();</BUG>
if (name.indexOf('$')>=0) name = name.replace('$', '.');

import com.intellij.psi.xml.XmlTag;
import com.intellij.psi.xml.XmlElement;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public abstract class AbstractConvertContext extends ConvertContext {
public final PsiClass findClass(@Nullable String name, @Nullable final GlobalSearchScope searchScope) {
return findClass(name, getFile(), getModule(), searchScope);
}
@Nullable
public static PsiClass findClass(@Nullable String name, @NotNull final XmlFile file, @Nullable final Module module, @Nullable final GlobalSearchScope searchScope) {
if (name == null) return null;
if (name.indexOf('$')>=0) name = name.replace('$', '.');
