String () { if (UISettings.getInstance().getHideKnownExtensionInTabs() && !isDirectory()) { String nameWithoutExtension = getNameWithoutExtension(); return nameWithoutExtension.isEmpty() ? getName() : nameWithoutExtension; } return getName(); }