Icon () { Icon icon = getFrameworkType().getIcon(); //noinspection ConstantConditions if (icon == null) { Class<?> aClass = getFrameworkType().getClass(); Logger logger = Logger.getInstance(FrameworkSupportInModuleProvider.class); PluginException.logPluginError(logger, "FrameworkType::getIcon returns null for " + aClass, null, aClass); return EmptyIcon.ICON_16; } return icon; }