String (String resourceName) { if (myDirName == null) { String dirName = myDescriptionDirectoryName; if (myLoader != null && myLoader.getResource(getResourceLocationStatic(dirName, resourceName)) == null) { dirName = getFamily(); if (myLoader.getResource(getResourceLocationStatic(dirName, resourceName)) == null) { PluginId pluginId = getPluginId(); String errorMessage = "Intention Description Dir URL is null: " + getFamily() + "; " + myDescriptionDirectoryName + "; while looking for " + resourceName; if (pluginId != null) { throw new PluginException(errorMessage, pluginId); } else { throw new RuntimeException(errorMessage); } } } myDirName = dirName; } return getResourceLocationStatic(myDirName, resourceName); }