package org.intellij.ibatis.dom.sqlMap.impl;

import com.intellij.javaee.model.xml.impl.BaseImpl;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiClass;
import org.intellij.ibatis.dom.sqlMap.ParameterMap;
import org.intellij.ibatis.provider.IbatisClassShortcutsReferenceProvider;
import org.jetbrains.annotations.Nullable;

/**
 * paramterMap in SQL map file
 */
public abstract class ParameterMapImpl extends BaseImpl implements ParameterMap {
    @Nullable public PsiClass getPsiClass() {
        String classname = getClazz().getValue();
        if (StringUtil.isNotEmpty(classname)) {
            IbatisClassShortcutsReferenceProvider.getPsiClass(getClazz().getXmlAttribute(), classname);
        }
        return null;
    }
}

@@ -487,295 +487,8 @@
 %0A   
- @Nullable public PsiClass getPsiClass() %7B%0D%0A        String classname = getClazz().getValue();%0D%0A        if (StringUtil.isNotEmpty(classname)) %7B%0D%0A            IbatisClassShortcutsReferenceProvider.getPsiClass(getClazz().getXmlAttribute(), classname);%0D%0A        %7D%0D%0A        return null;%0D%0A    %7D
 %0D%0A%7D%0D

remove unneccessary code