Icon () { final String customIcon = getCustomIcon(); if (customIcon != null && myRepository != null) { // Load icon in the classloader of the corresponding repository implementation. // Fallback to the platform icons if the repository wasn't found. return IconLoader.getIcon(customIcon, myRepository.getClass().getClassLoader()); } return getIconFromType(myType, isIssue()); }