Remove other specific code after removing 182
#KT-33536 Fixed
This commit is contained in:
@@ -61,8 +61,6 @@ public class KotlinCodeStyleSettingsProvider extends CodeStyleSettingsProvider {
|
||||
addBlankLinesTab(settings);
|
||||
addTab(new ImportSettingsPanelWrapper(settings));
|
||||
|
||||
// BUNCH: 182
|
||||
//noinspection IncompatibleAPI
|
||||
for (CodeStyleSettingsProvider provider : CodeStyleSettingsProvider.EXTENSION_POINT_NAME.getExtensions()) {
|
||||
if (provider.getLanguage() == KotlinLanguage.INSTANCE && !provider.hasSettingsPage()) {
|
||||
createTab(provider);
|
||||
|
||||
@@ -13,7 +13,6 @@ import org.jetbrains.kotlin.idea.KotlinIcons
|
||||
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
||||
import javax.swing.Icon
|
||||
|
||||
// BUNCH: 182
|
||||
// BUNCH: as35
|
||||
// BUNCH: as34
|
||||
// BUNCH: 191
|
||||
|
||||
@@ -14,7 +14,6 @@ import org.jetbrains.kotlin.idea.KotlinIcons
|
||||
import org.jetbrains.kotlin.idea.highlighter.dsl.DslHighlighterExtension
|
||||
import javax.swing.Icon
|
||||
|
||||
// BUNCH: 182
|
||||
// BUNCH: as35
|
||||
// BUNCH: as34
|
||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
||||
import com.intellij.icons.AllIcons
|
||||
import javax.swing.Icon
|
||||
|
||||
// BUNCH: 182
|
||||
// BUNCH: as35
|
||||
// BUNCH: as34
|
||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
||||
import com.intellij.icons.AllIcons
|
||||
import javax.swing.Icon
|
||||
|
||||
// BUNCH: 182
|
||||
// BUNCH: as35
|
||||
// BUNCH: as34
|
||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||
|
||||
@@ -8,7 +8,6 @@ package org.jetbrains.kotlin.idea.highlighter.markers
|
||||
import com.intellij.icons.AllIcons
|
||||
import javax.swing.Icon
|
||||
|
||||
// BUNCH: 182
|
||||
// BUNCH: as35
|
||||
// BUNCH: as34
|
||||
internal fun createDslStyleIcon(styleId: Int): Icon {
|
||||
|
||||
-1
@@ -37,7 +37,6 @@ class AndroidExtensionsReferenceSearchExecutor : QueryExecutorBase<PsiReference,
|
||||
override fun processQuery(queryParameters: ReferencesSearch.SearchParameters, consumer: Processor<in PsiReference>) {
|
||||
val elementToSearch = queryParameters.elementToSearch as? XmlAttributeValue ?: return
|
||||
val scopeElements = (queryParameters.effectiveSearchScope as? LocalSearchScope)?.scope ?: return
|
||||
@Suppress("UNNECESSARY_SAFE_CALL", "USELESS_ELVIS") // BUNCH: 182
|
||||
val referenceName = elementToSearch.value?.substringAfterLast("/") ?: return
|
||||
|
||||
scopeElements.filterIsInstance<KtElement>().forEach {
|
||||
|
||||
-1
@@ -51,7 +51,6 @@ class AndroidSimpleNameReferenceExtension : SimpleNameReferenceExtension {
|
||||
return null
|
||||
}
|
||||
|
||||
@Suppress("UNNECESSARY_SAFE_CALL", "USELESS_ELVIS") // BUNCH: 182
|
||||
private fun isIdDeclaration(declaration: XmlAttributeValue) = declaration.value?.startsWith("@+id/") ?: false
|
||||
|
||||
private fun KtSimpleNameReference.isReferenceToXmlFile(xmlFile: XmlFile): Boolean {
|
||||
|
||||
Reference in New Issue
Block a user