housekeeping: remove unused imports

GitOrigin-RevId: be93bd341860bfc077fdbff5ce2ae91eebada31e
This commit is contained in:
Leonid Shalupov
2025-02-03 16:19:43 +01:00
committed by intellij-monorepo-bot
parent f0a7a18efb
commit 5db4998301
96 changed files with 0 additions and 135 deletions

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package andel.intervals
import andel.intervals.impl.IntervalsQuerySum
import andel.intervals.impl.KeyedIntervals
fun <K, T, R> IntervalsQuery<K, T>.mapValues(f: (T) -> R): IntervalsQuery<K, R> {

View File

@@ -2,7 +2,6 @@
package andel.lines
import andel.intervals.Interval
import andel.lines.LineBasedHeight.Companion.ZERO
interface LinesLayout {
fun preferredWidth(): Float

View File

@@ -18,7 +18,6 @@ package fleet.fastutil.ints
import fleet.fastutil.Arrays
import fleet.fastutil.Hash
import fleet.fastutil.HashCommon
import fleet.fastutil.ints.IntArrays.unwrap
import kotlin.math.ceil
import kotlin.math.max
import kotlin.math.min

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package fleet.fastutil.ints
import fleet.fastutil.ints.IntArrays.unwrap
import fleet.fastutil.longs.LongSet
fun IntSet.toIntArray(): IntArray {

View File

@@ -1,8 +1,6 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package fleet.fastutil.longs
import fleet.fastutil.ints.IntArrayList
interface LongList {
val size: Int

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package fleet.fastutil.longs
import fleet.fastutil.ints.IntOpenHashSet
import fleet.fastutil.longs.LongArrays.unwrap

View File

@@ -7,7 +7,6 @@ import fleet.kernel.rebase.clientClock
import fleet.util.*
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.CopyableThrowable
import kotlinx.coroutines.flow.first
import kotlinx.coroutines.flow.firstOrNull
import kotlinx.coroutines.withTimeoutOrNull
import kotlinx.coroutines.yield

View File

@@ -7,7 +7,6 @@ import fleet.util.AtomicRef
import fleet.util.logging.logger
import kotlinx.coroutines.*
import kotlinx.coroutines.flow.*
import kotlin.reflect.KClass
/**
* [f] will be invoked each time when it's return value may be changed.

View File

@@ -5,9 +5,6 @@ import fleet.kernel.DurableDbValue
import fleet.util.UID
import kotlinx.serialization.Serializable
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.modules.SerializersModuleBuilder
import kotlinx.serialization.modules.polymorphic
import kotlinx.serialization.modules.subclass
@Serializable
data class SharedCreateEntity(

View File

@@ -10,8 +10,6 @@ import fleet.rpc.core.InstanceId
import fleet.util.UID
import fleet.util.openmap.SerializedValue
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.serialization.KSerializer
import kotlinx.serialization.Polymorphic
import kotlinx.serialization.SerialName
import kotlinx.serialization.Serializable

View File

@@ -3,19 +3,15 @@ package fleet.kernel.rebase
import com.jetbrains.rhizomedb.*
import fleet.kernel.*
import fleet.rpc.client.RpcClientDisconnectedException
import fleet.rpc.core.AssumptionsViolatedException
import fleet.rpc.core.toRpc
import fleet.util.UID
import fleet.util.async.takeUntilInclusive
import fleet.util.causeOfType
import fleet.util.logging.KLoggers
import fleet.fastutil.ints.IntList
import fleet.util.async.consumeToChannelIn
import kotlinx.coroutines.*
import kotlinx.coroutines.channels.ReceiveChannel
import kotlinx.coroutines.channels.consume
import kotlinx.coroutines.channels.consumeEach
import kotlinx.coroutines.flow.*
object TransactionResultKey : ChangeScopeKey<TransactionResult>

View File

@@ -9,7 +9,6 @@ import java.nio.file.Path
import java.util.stream.Collectors
import kotlin.io.path.absolute
import kotlin.io.path.exists
import kotlin.io.path.invariantSeparatorsPathString
import kotlin.io.path.listDirectoryEntries
import kotlin.io.path.name
import kotlin.io.path.pathString

View File

@@ -5,7 +5,6 @@ import com.jetbrains.rhizomedb.impl.entity
import com.jetbrains.rhizomedb.impl.generateSeed
import fleet.util.openmap.Key
import fleet.util.openmap.MutableOpenMap
import kotlin.reflect.KClass
/**
* Asserts that current thread-bound [DbContext] contains mutable db, constructs [ChangeScope] for it, and runs body with it

View File

@@ -2,13 +2,6 @@
package com.jetbrains.rhizomedb
//import kotlin.internal.OnlyInputTypes
import com.jetbrains.rhizomedb.impl.*
import fleet.util.reducible.Reducible
import fleet.util.reducible.emptyReducible
import fleet.util.singleOrNullOrThrowWithMessage
import kotlin.reflect.KClass
import kotlin.reflect.KMutableProperty1
import kotlin.reflect.KProperty1
/**
* Database will maintain index of all values for this property so you can find all entities with given value.

View File

@@ -2,7 +2,6 @@
package com.jetbrains.rhizomedb
import com.jetbrains.rhizomedb.impl.EidGen
import com.jetbrains.rhizomedb.impl.EntityFactory
import fleet.util.singleOrNullOrThrow
import fleet.fastutil.ints.IntOpenHashSet
import kotlinx.serialization.builtins.serializer

View File

@@ -11,7 +11,6 @@ import fleet.tracing.span
import fleet.tracing.spannedScope
import fleet.util.async.catching
import fleet.util.async.use
import fleet.util.cast
import fleet.util.causeOfType
import kotlinx.coroutines.CancellationException
import kotlinx.coroutines.CoroutineScope

View File

@@ -19,7 +19,6 @@ import kotlinx.serialization.Serializable
import kotlinx.serialization.UseSerializers
import kotlinx.serialization.builtins.serializer
import kotlinx.serialization.json.Json
import kotlinx.serialization.serializer
import kotlin.io.encoding.ExperimentalEncodingApi
private class SerializationContext(val streamDescriptors: MutableList<StreamDescriptor>,

View File

@@ -3,7 +3,6 @@ package fleet.util.serialization
import kotlinx.serialization.DeserializationStrategy
import kotlinx.serialization.ExperimentalSerializationApi
import kotlinx.serialization.KSerializer
import kotlinx.serialization.json.Json
import kotlinx.serialization.json.JsonElement
import kotlinx.serialization.serializer

View File

@@ -5,7 +5,6 @@ import com.intellij.database.datagrid.GridRow;
import com.intellij.database.util.Out;
import org.jetbrains.annotations.NotNull;
import java.io.*;
import java.util.List;
/**

View File

@@ -3,8 +3,6 @@ package com.intellij.database.extractors;
import org.jetbrains.annotations.Nls;
import org.jetbrains.annotations.NotNull;
import java.io.Serializable;
public interface DisplayType {
@NotNull @Nls String getName();
}

View File

@@ -3,8 +3,6 @@ package com.intellij.database.extractors;
import com.intellij.database.DataGridBundle;
import org.jetbrains.annotations.NotNull;
import java.io.OutputStream;
public class XlsxExtractorFactory implements DataExtractorFactory {
@Override
public @NotNull String getName() {

View File

@@ -2,8 +2,6 @@ package com.intellij.database.actions
import com.intellij.database.datagrid.GridUtil
import com.intellij.database.run.ui.*
import com.intellij.icons.AllIcons
import com.intellij.openapi.actionSystem.ActionPlaces
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.project.DumbAwareAction

View File

@@ -2,7 +2,6 @@ package com.intellij.database.actions
import com.intellij.database.datagrid.GridUtil
import com.intellij.database.run.ui.*
import com.intellij.icons.AllIcons
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.actionSystem.ToggleAction

View File

@@ -1,6 +1,5 @@
package com.intellij.database.datagrid;
import com.intellij.database.extractors.BinaryDisplayType;
import com.intellij.database.extractors.DisplayType;
import com.intellij.lang.Language;
import com.intellij.util.messages.Topic;

View File

@@ -7,7 +7,6 @@ import com.intellij.openapi.editor.Editor
import com.intellij.openapi.project.Project
import com.intellij.openapi.util.Key
import com.intellij.psi.PsiDocumentManager
import org.jetbrains.annotations.TestOnly
private const val ID: String = "org.jetbrains.plugins.notebooks.notebookCellLinesProvider"

View File

@@ -1,7 +1,6 @@
package com.intellij.notebooks.visualization.ui
import com.intellij.openapi.application.WriteIntentReadAction
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.editor.EditorKind
import com.intellij.openapi.editor.Inlay
import com.intellij.openapi.editor.ex.EditorEx
@@ -14,7 +13,6 @@ import java.awt.event.HierarchyEvent
import java.lang.ref.WeakReference
import javax.swing.JComponent
import javax.swing.JScrollPane
import javax.swing.SwingUtilities
fun EditorEx.addComponentInlay(
component: JComponent,

View File

@@ -1,6 +1,5 @@
package com.intellij.remoteDev.downloader
import org.jetbrains.annotations.ApiStatus
import java.nio.file.Path
/**

View File

@@ -1,7 +1,6 @@
package com.intellij.settingsSync.core.auth
import com.intellij.settingsSync.core.communicator.SettingsSyncUserData
import kotlinx.coroutines.Deferred
import java.awt.Component
import javax.swing.Icon

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.completion.ml.common
import com.intellij.completion.ml.common.LocationFeaturesUtil
import org.junit.Assert
import org.junit.Test

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.intellij.completion.ml.ngram
import com.intellij.completion.ml.ngram.NGram
import com.intellij.completion.ml.ngram.NGram.score
import com.intellij.completion.ngram.slp.modeling.ngram.NGramModel
import com.intellij.completion.ngram.slp.modeling.runners.ModelRunner

View File

@@ -3,7 +3,6 @@ package com.intellij.configurationScript.schemaGenerators
import com.intellij.configurationScript.LOG
import com.intellij.configurationScript.SchemaGenerator
import com.intellij.configurationStore.ComponentSerializationUtil
import com.intellij.ide.plugins.IdeaPluginDescriptorImpl
import com.intellij.ide.plugins.PluginManagerCore
import com.intellij.openapi.components.BaseState
import com.intellij.openapi.components.PersistentStateComponent

View File

@@ -1,8 +1,6 @@
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.cce.core
import com.intellij.cce.core.Language.entries
enum class Language(val displayName: String, private val extensions: List<String>, val ideaLanguageId: String, val needSdk: Boolean = false,
val curlyBracket: Boolean = true) {

View File

@@ -9,7 +9,6 @@ import com.intellij.openapi.diagnostic.thisLogger
import kotlinx.html.*
import kotlinx.html.stream.createHTML
import org.apache.commons.lang3.StringEscapeUtils
import com.intellij.openapi.diagnostic.logger
open class BasicFileReportGenerator(

View File

@@ -4,7 +4,6 @@ package com.intellij.cce.java.evaluation
import com.intellij.application.options.PathMacrosImpl
import com.intellij.cce.core.Language
import com.intellij.cce.evaluation.SetupSdkStep
import com.intellij.cce.java.evaluation.JvmBuildSystem.entries
import com.intellij.cce.workspace.EvaluationWorkspace
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.application.ModalityState

View File

@@ -3,7 +3,6 @@ package com.intellij.filePrediction.features
import com.intellij.filePrediction.features.FilePredictionFeature.Companion.binary
import com.intellij.filePrediction.features.FilePredictionFeature.Companion.fileType
import com.intellij.filePrediction.references.ExternalReferencesResult
import com.intellij.internal.statistic.collectors.fus.fileTypes.FileTypeUsagesCollector
import com.intellij.openapi.project.Project
import com.intellij.openapi.vfs.VirtualFile

View File

@@ -4,7 +4,6 @@ package com.intellij.filePrediction.features.vcs
import com.intellij.filePrediction.features.FilePredictionFeature
import com.intellij.filePrediction.features.FilePredictionFeatureProvider
import com.intellij.filePrediction.features.FilePredictionFeaturesCache
import com.intellij.filePrediction.references.ExternalReferencesResult
import com.intellij.openapi.project.Project
import com.intellij.openapi.vcs.ProjectLevelVcsManager
import com.intellij.openapi.vcs.changes.ChangeListManager

View File

@@ -12,7 +12,6 @@ import com.intellij.lang.LanguageExtension
import com.intellij.lang.LanguageExtensionPoint
import com.intellij.openapi.extensions.ExtensionPointName
import com.intellij.psi.PsiElement
import org.jetbrains.annotations.ApiStatus
private const val EXTENSION_POINT_NAME = "com.intellij.grazie.grammar.strategy"

View File

@@ -10,11 +10,9 @@ import com.intellij.openapi.application.invokeLater
import com.intellij.openapi.project.Project
import com.intellij.openapi.ui.SimpleToolWindowPanel
import com.intellij.openapi.wm.ToolWindow
import com.intellij.ui.ExperimentalUI
import com.intellij.ui.GotItTooltip
import com.intellij.ui.components.JBLabel
import com.intellij.ui.components.JBScrollPane
import com.intellij.ui.components.labels.LinkLabel
import com.intellij.util.ui.JBUI
import com.intellij.util.ui.UIUtil
import org.assertj.swing.timing.Timeout
@@ -28,7 +26,6 @@ import training.util.enableLessonsAndPromoters
import training.util.getActionById
import java.awt.Color
import java.util.concurrent.TimeUnit
import javax.swing.Box
import javax.swing.BoxLayout
import javax.swing.JLabel
import javax.swing.JPanel

View File

@@ -5,8 +5,6 @@ import com.intellij.openapi.projectRoots.Sdk
import com.intellij.openapi.wm.InteractiveCourseData
import com.intellij.openapi.wm.InteractiveCourseFactory
import com.intellij.openapi.wm.impl.welcomeScreen.learnIde.InteractiveCoursePanel
import com.intellij.ui.ExperimentalUI
import com.intellij.ui.HyperlinkAdapter
import com.intellij.util.ui.HTMLEditorKitBuilder
import com.intellij.util.ui.JBUI
import com.intellij.util.ui.UIUtil
@@ -23,7 +21,6 @@ import training.util.learningPanelWasOpenedInCurrentVersion
import java.awt.Component
import java.awt.event.ActionEvent
import javax.swing.*
import javax.swing.event.HyperlinkEvent
internal class IFTInteractiveCourse : InteractiveCourseFactory {

View File

@@ -15,7 +15,6 @@ import de.plushnikov.intellij.plugin.psi.LombokLightMethodBuilder;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Objects;
/**
* Annas example: org.jetbrains.plugins.javaFX.fxml.refs.JavaFxControllerFieldSearcher

View File

@@ -18,7 +18,6 @@ import de.plushnikov.intellij.plugin.util.PsiAnnotationUtil;
import org.jetbrains.annotations.NotNull;
import java.util.Arrays;
import java.util.Collections;
import java.util.List;
import java.util.Map;

View File

@@ -13,7 +13,6 @@ import org.jetbrains.annotations.Nullable;
import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.function.Predicate;
import static com.intellij.util.ObjectUtils.tryCast;
import static java.util.function.Predicate.not;

View File

@@ -1,7 +1,6 @@
package de.plushnikov.intellij.plugin.intention;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiFile;
import de.plushnikov.intellij.plugin.AbstractLombokLightCodeInsightTestCase;
public abstract class LombokIntentionActionTest extends AbstractLombokLightCodeInsightTestCase {

View File

@@ -1,6 +1,5 @@
package de.plushnikov.intellij.plugin.intention;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiField;

View File

@@ -1,6 +1,5 @@
package de.plushnikov.intellij.plugin.intention.valvar.from;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiLocalVariable;

View File

@@ -1,6 +1,5 @@
package de.plushnikov.intellij.plugin.intention.valvar.from;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiLocalVariable;

View File

@@ -1,6 +1,5 @@
package de.plushnikov.intellij.plugin.intention.valvar.from;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiLocalVariable;

View File

@@ -1,6 +1,5 @@
package de.plushnikov.intellij.plugin.intention.valvar.to;
import com.intellij.codeInsight.intention.IntentionAction;
import com.intellij.modcommand.ModCommandAction;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiLocalVariable;

View File

@@ -1,9 +1,6 @@
package de.plushnikov.intellij.plugin.processor;
import com.intellij.testFramework.LightProjectDescriptor;
import de.plushnikov.intellij.plugin.AbstractLombokParsingTestCase;
import de.plushnikov.intellij.plugin.LombokTestUtil;
import org.jetbrains.annotations.NotNull;
/**
* Unit tests for IntelliJPlugin for Lombok, based on lombok test classes

View File

@@ -5,7 +5,6 @@ import com.intellij.psi.PsiElement
import org.intellij.plugins.markdown.MarkdownBundle
import org.intellij.plugins.markdown.extensions.*
import org.intellij.plugins.markdown.lang.psi.impl.MarkdownCodeFence
import java.util.*
internal class PlantUMLCodeFenceDownloadLineMarkerProvider : CodeFenceDownloadLineMarkerProvider() {
override fun shouldProcessElement(element: PsiElement): Boolean {

View File

@@ -5,7 +5,6 @@ import com.intellij.openapi.actionSystem.ex.ActionUtil;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.event.VisibleAreaEvent;
import com.intellij.openapi.editor.event.VisibleAreaListener;
import com.intellij.openapi.editor.ex.util.EditorUtil;
import com.intellij.openapi.editor.impl.EditorImpl;
import com.intellij.openapi.fileEditor.TextEditor;
import com.intellij.openapi.fileEditor.TextEditorWithPreview;

View File

@@ -13,7 +13,6 @@ import com.intellij.openapi.editor.Document
import com.intellij.openapi.editor.Editor
import com.intellij.openapi.editor.event.DocumentEvent
import com.intellij.openapi.editor.event.DocumentListener
import com.intellij.openapi.editor.ex.util.EditorUtil
import com.intellij.openapi.editor.impl.EditorImpl
import com.intellij.openapi.fileEditor.FileEditor
import com.intellij.openapi.fileEditor.FileEditorState

View File

@@ -3,8 +3,6 @@ package com.intellij.ml.local.models.frequency
import com.intellij.ml.local.models.api.LocalModelBuilder
import com.intellij.lang.Language
import com.intellij.ml.local.models.api.LocalModelFactory
import com.intellij.ml.local.models.frequency.classes.ClassesFrequencyModelFactory
import com.intellij.ml.local.models.frequency.methods.MethodsFrequencyModelFactory
import com.intellij.openapi.project.Project
import com.intellij.psi.PsiElementVisitor

View File

@@ -2,11 +2,9 @@ package com.jetbrains.performancePlugin.actions
import com.intellij.openapi.actionSystem.ActionUpdateThread
import com.intellij.openapi.actionSystem.AnActionEvent
import com.intellij.openapi.progress.runModalTask
import com.intellij.openapi.project.DumbAwareAction
import com.intellij.util.MemoryDumpHelper
import com.intellij.util.SystemProperties
import com.jetbrains.performancePlugin.PerformanceTestingBundle
import com.jetbrains.performancePlugin.profilers.Profiler
import com.jetbrains.performancePlugin.profilers.ProfilerHandlerUtils
import java.io.File

View File

@@ -6,7 +6,6 @@ import com.intellij.openapi.project.Project
import com.intellij.openapi.project.configuration.ConfigurationResult
import com.intellij.openapi.project.configuration.awaitCompleteProjectConfiguration
import com.intellij.openapi.ui.playback.PlaybackContext
import kotlinx.coroutines.runBlocking
private val LOG: Logger

View File

@@ -3,7 +3,6 @@ package com.jetbrains.performancePlugin.commands
import com.intellij.codeInsight.daemon.DaemonCodeAnalyzer
import com.intellij.codeInsight.daemon.impl.DaemonCodeAnalyzerImpl
import com.intellij.lang.annotation.HighlightSeverity
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.fileEditor.FileEditorManager
import com.intellij.openapi.project.DumbService

View File

@@ -1,6 +1,5 @@
package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.ui.playback.commands.AbstractCommand

View File

@@ -1,6 +1,5 @@
package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.util.ActionCallback

View File

@@ -1,7 +1,6 @@
package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.application.runReadAction
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.progress.ProgressIndicator
import com.intellij.openapi.progress.Task

View File

@@ -1,6 +1,5 @@
package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.concurrency.awaitPromise
import com.intellij.openapi.fileEditor.FileEditorManager
import com.intellij.openapi.ui.playback.PlaybackContext

View File

@@ -12,7 +12,6 @@ import com.intellij.psi.PsiManager
import com.intellij.refactoring.BaseRefactoringProcessor.ConflictsInTestsException.withIgnoredConflicts
import com.intellij.refactoring.move.MoveHandler
import com.jetbrains.performancePlugin.commands.dto.MoveFilesData
import io.opentelemetry.api.trace.Span
import kotlinx.coroutines.Dispatchers
import kotlinx.coroutines.withContext

View File

@@ -2,7 +2,6 @@ package com.jetbrains.performancePlugin.commands
import com.intellij.ide.actions.cache.ProjectRecoveryScope
import com.intellij.ide.actions.cache.RecoveryAction
import com.intellij.openapi.diagnostic.Logger
import com.intellij.openapi.diagnostic.logger
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.ui.playback.commands.AbstractCommand

View File

@@ -9,7 +9,6 @@ import com.intellij.openapi.wm.IdeFocusManager
import com.intellij.platform.diagnostic.telemetry.helpers.use
import com.intellij.psi.PsiDocumentManager
import com.intellij.refactoring.InplaceRefactoringContinuation
import com.intellij.refactoring.RefactoringSettings
import com.intellij.refactoring.actions.RenameElementAction
import com.intellij.refactoring.rename.Renamer
import com.intellij.refactoring.rename.RenamerFactory

View File

@@ -6,7 +6,6 @@ import com.jetbrains.performancePlugin.PerformanceTestingBundle
import com.jetbrains.performancePlugin.profilers.Profiler
import kotlinx.coroutines.delay
import kotlinx.coroutines.withTimeout
import java.util.*
import kotlin.time.Duration.Companion.milliseconds
import kotlin.time.Duration.Companion.minutes

View File

@@ -3,7 +3,6 @@ package com.jetbrains.performancePlugin.commands
import com.intellij.openapi.ui.playback.PlaybackContext
import com.intellij.openapi.ui.playback.commands.PlaybackCommandCoroutineAdapter
import com.jetbrains.performancePlugin.profilers.Profiler.Companion.getCurrentProfilerHandler
import com.jetbrains.performancePlugin.profilers.Profiler.Companion.isAnyProfilingStarted
import com.jetbrains.performancePlugin.profilers.ProfilersController
/**

View File

@@ -2,8 +2,6 @@ package com.intellij.settingsSync
import com.intellij.idea.TestFor
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.progress.runBlockingCancellable
import com.intellij.settingsSync.core.ServerState
import com.intellij.settingsSync.core.SettingsSyncMain
import com.intellij.settingsSync.core.SettingsSyncSettings
import com.intellij.settingsSync.core.auth.SettingsSyncAuthService

View File

@@ -2,8 +2,6 @@
package com.intellij.sh;
import com.intellij.lang.Language;
import com.intellij.notification.NotificationGroup;
import com.intellij.notification.NotificationGroupManager;
public final class ShLanguage extends Language {
public static final Language INSTANCE = new ShLanguage();

View File

@@ -3,7 +3,6 @@ package org.jetbrains.plugins.textmate.configuration
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.components.*
import org.jetbrains.plugins.textmate.TextMateBundleToLoad
import java.nio.file.Path
@State(name = "TextMateBuiltinBundlesSettings",
category = SettingsCategory.TOOLS,

View File

@@ -1,7 +1,5 @@
package org.jetbrains.plugins.textmate.editor
import com.intellij.formatting.IndentInfo
import com.intellij.openapi.util.text.StringUtil
import com.intellij.psi.codeStyle.CommonCodeStyleSettings
class Utils {

View File

@@ -1,9 +1,7 @@
package org.jetbrains.plugins.textmate
import org.jetbrains.plugins.textmate.bundles.TextMateFileNameMatcher
import org.jetbrains.plugins.textmate.language.TextMateConcurrentMapInterner
import org.jetbrains.plugins.textmate.language.syntax.TextMateSyntaxTableBuilder
import org.jetbrains.plugins.textmate.language.syntax.TextMateSyntaxTableCore
fun TextMateSyntaxTableBuilder.loadBundle(bundleName: String): Map<TextMateFileNameMatcher, CharSequence> {
val matchers = HashMap<TextMateFileNameMatcher, CharSequence>()

View File

@@ -6,7 +6,6 @@ import com.intellij.lang.ASTNode;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.util.text.StringUtilRt;
import com.intellij.psi.PsiDocumentManager;
import com.intellij.psi.PsiFile;
import com.intellij.psi.TokenType;
import com.intellij.psi.codeStyle.CodeStyleSettings;

View File

@@ -4,7 +4,6 @@ import com.intellij.openapi.diagnostic.Logger
import com.intellij.util.ResourceUtil
import com.jetbrains.python.packaging.PyPackage
import java.io.IOException
import java.util.*
/**
* Python package utility methods with no dependencies on the Python runtime.

View File

@@ -25,7 +25,6 @@ import com.jetbrains.python.psi.PyFunction
import com.jetbrains.python.psi.resolve.QualifiedNameFinder
import com.jetbrains.python.psi.types.TypeEvalContext
import com.jetbrains.python.sdk.PythonSdkUtil
import com.jetbrains.python.parser.icons.PythonParserIcons
import com.jetbrains.python.psi.icons.PythonPsiApiIcons
import one.util.streamex.StreamEx

View File

@@ -7,7 +7,6 @@ import com.jetbrains.python.psi.types.PyCallableType;
import com.jetbrains.python.psi.types.PyType;
import com.jetbrains.python.psi.types.PyTypeProviderBase;
import com.jetbrains.python.psi.types.TypeEvalContext;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View File

@@ -3,10 +3,8 @@ package com.jetbrains.python.inspections.quickfix;
import com.intellij.openapi.editor.Document;
import com.intellij.openapi.editor.Editor;
import com.intellij.openapi.editor.EditorFactory;
import com.intellij.psi.PsiDocumentManager;
import com.intellij.psi.PsiElement;
import com.intellij.psi.PsiReference;
import com.intellij.psi.util.PsiEditorUtil;
import com.jetbrains.python.psi.PyReferenceExpression;
import org.jetbrains.annotations.NotNull;

View File

@@ -16,7 +16,6 @@
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyAnnotation;
import com.jetbrains.python.psi.PyElementVisitor;

View File

@@ -3,7 +3,6 @@ package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.psi.PsiElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyDecorator;
import com.jetbrains.python.psi.PyDecoratorList;

View File

@@ -17,7 +17,6 @@ package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.navigation.ItemPresentation;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyElementVisitor;
import com.jetbrains.python.psi.PySingleStarParameter;

View File

@@ -2,7 +2,6 @@
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyElementVisitor;
import com.jetbrains.python.psi.PySlashParameter;

View File

@@ -2,7 +2,6 @@
package com.jetbrains.python.psi.impl;
import com.intellij.lang.ASTNode;
import com.intellij.util.ArrayUtil;
import com.jetbrains.python.codeInsight.dataflow.scope.ScopeUtil;
import com.jetbrains.python.codeInsight.typing.PyTypingTypeProvider;
import com.jetbrains.python.psi.PyElementVisitor;

View File

@@ -17,7 +17,6 @@ package com.jetbrains.python.psi.impl.stubs;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyDecoratorList;
import com.jetbrains.python.psi.stubs.PyDecoratorListStub;

View File

@@ -17,7 +17,6 @@ package com.jetbrains.python.psi.impl.stubs;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyExceptPart;
import com.jetbrains.python.psi.stubs.PyExceptPartStub;

View File

@@ -4,11 +4,9 @@ package com.jetbrains.python.psi.impl.stubs;
import com.google.common.collect.RangeSet;
import com.intellij.openapi.util.Version;
import com.intellij.psi.stubs.IStubElementType;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.intellij.psi.util.QualifiedName;
import com.jetbrains.python.psi.PyFromImportStatement;
import com.jetbrains.python.psi.PyImportStatement;
import com.jetbrains.python.psi.stubs.PyFromImportStatementStub;
import org.jetbrains.annotations.NotNull;

View File

@@ -17,7 +17,6 @@ package com.jetbrains.python.psi.impl.stubs;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PySingleStarParameter;
import com.jetbrains.python.psi.stubs.PySingleStarParameterStub;

View File

@@ -3,7 +3,6 @@ package com.jetbrains.python.psi.impl.stubs;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PySlashParameter;
import com.jetbrains.python.psi.stubs.PySlashParameterStub;

View File

@@ -17,7 +17,6 @@ package com.jetbrains.python.psi.impl.stubs;
import com.intellij.psi.stubs.StubBase;
import com.intellij.psi.stubs.StubElement;
import com.jetbrains.python.PyElementTypes;
import com.jetbrains.python.PyStubElementTypes;
import com.jetbrains.python.psi.PyStarImportElement;
import com.jetbrains.python.psi.stubs.PyStarImportElementStub;

View File

@@ -2,7 +2,6 @@
package com.jetbrains.python.psi.stubs
import com.jetbrains.python.psi.impl.stubs.CustomTargetExpressionStub
import java.util.Optional
interface PyTypedDictStub : CustomTargetExpressionStub {

View File

@@ -1,7 +1,6 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package com.jetbrains.python.tensorFlow
import com.intellij.openapi.application.ApplicationManager
import com.intellij.openapi.projectRoots.Sdk
import com.intellij.psi.PsiElement
import com.intellij.psi.util.QualifiedName

View File

@@ -15,23 +15,16 @@
*/
package com.jetbrains.python.validation;
import com.google.common.collect.Lists;
import com.intellij.codeInspection.util.InspectionMessage;
import com.intellij.lang.annotation.HighlightSeverity;
import com.intellij.openapi.util.TextRange;
import com.intellij.openapi.util.text.StringUtil;
import com.intellij.psi.PsiComment;
import com.intellij.psi.PsiElement;
import com.intellij.psi.util.PsiTreeUtil;
import com.jetbrains.python.PyPsiBundle;
import com.jetbrains.python.psi.PyFStringFragment;
import com.jetbrains.python.psi.PyFStringFragmentFormatPart;
import com.jetbrains.python.psi.PyFormattedStringElement;
import com.jetbrains.python.psi.PyStringLiteralExpression;
import org.jetbrains.annotations.NotNull;
import java.util.List;
/**
* @author Mikhail Golubev
*/

View File

@@ -22,7 +22,6 @@ import com.jetbrains.python.psi.LanguageLevel;
import com.jetbrains.python.psi.icons.PythonPsiApiIcons;
import com.jetbrains.python.run.CommandLinePatcher;
import com.jetbrains.python.sdk.*;
import com.jetbrains.python.sdk.CustomSdkHomePattern;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

View File

@@ -3,7 +3,6 @@ package com.jetbrains.python.editor;
import com.intellij.psi.PsiComment;
import com.jetbrains.python.ast.*;
import com.jetbrains.python.psi.*;
import org.jetbrains.annotations.ApiStatus;
public final class PyEditorHandlerConfig {

View File

@@ -15,7 +15,6 @@ import java.io.InputStream
import java.nio.file.Files
import java.nio.file.Path
import kotlin.io.path.Path
import kotlin.io.path.absolute
import kotlin.io.path.inputStream
import kotlin.system.exitProcess

View File

@@ -10,7 +10,6 @@ import com.intellij.testFramework.junit5.TestApplication
import com.intellij.tools.ide.metrics.collector.OpenTelemetryJsonMeterCollector
import com.intellij.tools.ide.metrics.collector.metrics.MetricsSelectionStrategy
import com.intellij.tools.ide.metrics.collector.metrics.PerformanceMetrics
import io.opentelemetry.api.trace.Span
import kotlinx.coroutines.delay
import kotlinx.coroutines.runBlocking
import org.junit.jupiter.api.Assertions

View File

@@ -16,8 +16,6 @@ import java.nio.file.FileSystemAlreadyExistsException
import java.nio.file.FileSystems
import java.nio.file.Files
import java.nio.file.Paths
import java.time.ZonedDateTime
import java.time.format.DateTimeFormatter
import kotlin.io.path.div
import kotlin.random.Random
import kotlin.time.Duration.Companion.milliseconds

View File

@@ -3,7 +3,6 @@ package com.intellij.tools.ide.metrics.collector.metrics
import com.intellij.openapi.util.BuildNumber
import com.intellij.tools.ide.metrics.collector.publishing.ApplicationMetricDto
import java.time.OffsetDateTime
import kotlin.time.Duration
data class PerformanceMetrics(
val buildNumber: BuildNumber,

View File

@@ -18,7 +18,6 @@
package com.pme.exe.res;
import java.io.DataInput;
import java.io.DataOutput;
import java.io.IOException;
/**