Source:
<code>public ThemeEditorStyle getStyle(@NotNull final String qualifiedStyleName) { try { return myStylesCache.get(qualifiedStyleName, new Callable<ThemeEditorStyle>() { @Override public ThemeEditorStyle call() throws Exception { <START> <END> LocalResourceRepository repository = AppResourceRepository.getAppResources(myConfiguration.getModule(), true); Project project = myConfiguration.getModule().getProject(); if (qualifiedStyleName.startsWith(SdkConstants.ANDROID_STYLE_RESOURCE_PREFIX)) { ResourceValue value = resolveFrameworkStyle(qualifiedStyleName.substring(SdkConstants.ANDROID_STYLE_RESOURCE_PREFIX.length())); if (value == null) { throw new ExecutionException("Resource not found for framework style " + qualifiedStyleName, null); } return new ThemeEditorStyle(StyleResolver.this, project, myConfiguration, (StyleResourceValue)value, null); } List<ResourceItem> resources; if (qualifiedStyleName.startsWith(SdkConstants.STYLE_RESOURCE_PREFIX)) { resources = repository.getResourceItem(ResourceType.STYLE, qualifiedStyleName.substring(SdkConstants.STYLE_RESOURCE_PREFIX.length())); } else { resources = repository.getResourceItem(ResourceType.STYLE, qualifiedStyleName); } if (resources == null || resources.isEmpty()) { throw new ExecutionException("Resource not found for " + qualifiedStyleName, null); } ResourceValue value = resources.get(0).getResourceValue(false); if (!(value instanceof StyleResourceValue)) { throw new ExecutionException("Resource not a style for " + qualifiedStyleName, null); } XmlTag xmlTag = LocalResourceRepository.getItemTag(project, resources.get(0)); return new ThemeEditorStyle(StyleResolver.this, project, myConfiguration, (StyleResourceValue)value, xmlTag); } }); } catch (ExecutionException e) { LOG.warn("Unable to retrieve style", e); } return null; }</code><technical_language>nit: empty line</technical_language>

Target:
public ThemeEditorStyle getStyle(@NotNull final String qualifiedStyleName) { try { return myStylesCache.get(qualifiedStyleName, new Callable<ThemeEditorStyle>() { @Override public ThemeEditorStyle call() throws Exception { LocalResourceRepository repository = AppResourceRepository.getAppResources(myConfiguration.getModule(), true); assert repository != null; Project project = myConfiguration.getModule().getProject(); if (qualifiedStyleName.startsWith(SdkConstants.ANDROID_STYLE_RESOURCE_PREFIX)) { ResourceValue value = resolveFrameworkStyle(qualifiedStyleName.substring(SdkConstants.ANDROID_STYLE_RESOURCE_PREFIX.length())); if (value == null) { throw new ExecutionException("Resource not found for framework style " + qualifiedStyleName, null); } return new ThemeEditorStyle(StyleResolver.this, project, myConfiguration, (StyleResourceValue)value, null); } List<ResourceItem> resources; if (qualifiedStyleName.startsWith(SdkConstants.STYLE_RESOURCE_PREFIX)) { resources = repository.getResourceItem(ResourceType.STYLE, qualifiedStyleName.substring(SdkConstants.STYLE_RESOURCE_PREFIX.length())); } else { resources = repository.getResourceItem(ResourceType.STYLE, qualifiedStyleName); } if (resources == null || resources.isEmpty()) { throw new ExecutionException("Resource not found for " + qualifiedStyleName, null); } ResourceValue value = resources.get(0).getResourceValue(false); if (!(value instanceof StyleResourceValue)) { throw new ExecutionException("Resource not a style for " + qualifiedStyleName, null); } XmlTag xmlTag = LocalResourceRepository.getItemTag(project, resources.get(0)); return new ThemeEditorStyle(StyleResolver.this, project, myConfiguration, (StyleResourceValue)value, xmlTag); } }); } catch (ExecutionException e) { LOG.warn("Unable to retrieve style", e); } return null; }