private boolean classMatches(PsiClass aClass) {
    if (aClass == null) return false;
    PsiFile file = aClass.getContainingFile();
    if (!(file instanceof PsiClassOwner)) return false;
    String packageName = StringUtil.getPackageName(myClassName);
    if (!((PsiClassOwner)file).getPackageName().matches(packageName)) return false;
    String shortName = StringUtil.getShortName(myClassName);
    return classNameMatches(aClass, shortName);
  }
private boolean classMatches(PsiClass aClass)