@Override
    protected String canonicalNameToName(@NonNls String canonicalName, PsiNamedElement element) {
      return canonicalName + "." + FileUtilRt.getExtension(myClass.getContainingFile().getName());
    }
@Override
    protected String canonicalNameToName(@NonNls String canonicalName, PsiNamedElement element)