Icon (@NotNull String path, Class<?> cls) { Icon icon = IconLoader.getIcon("com/intellij/internal/inspector/icons/" + path, UiInspectorAction.class.getClassLoader()); if (cls != null) { COMPONENT_MAPPING.put(cls, icon); } return icon; }