fix MyEditable visibility

GitOrigin-RevId: 6e137cee2c57cb6634c6d28c371ede97753f9f47
This commit is contained in:
Vladimir Krivosheev
2025-02-18 18:47:49 +01:00
committed by intellij-monorepo-bot
parent 9704108d40
commit 0d69d3b443
4 changed files with 13 additions and 7 deletions

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight.daemon.impl;
import com.intellij.application.options.editor.CodeFoldingConfigurable;
@@ -113,7 +113,7 @@ import java.util.stream.Collectors;
@SkipSlowTestLocally
@DaemonAnalyzerTestCase.CanChangeDocumentDuringHighlighting
public class DaemonRespondToChangesTest extends DaemonAnalyzerTestCase {
static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/typing/";
public static final String BASE_PATH = "/codeInsight/daemonCodeAnalyzer/typing/";
private DaemonCodeAnalyzerImpl myDaemonCodeAnalyzer;

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight.template.impl;
import com.intellij.DynamicBundle;
@@ -35,6 +35,7 @@ import kotlin.Lazy;
import kotlin.Unit;
import org.jdom.Element;
import org.jdom.JDOMException;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NonNls;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
@@ -126,7 +127,8 @@ public final class TemplateSettings implements PersistentStateComponent<Template
}
}
static final class State {
@ApiStatus.Internal
public static final class State {
@OptionTag(nameAttribute = "", valueAttribute = "shortcut", converter = ShortcutConverter.class)
public char defaultShortcut = TAB_CHAR;

View File

@@ -17,8 +17,10 @@ import com.intellij.refactoring.move.MoveCallback;
import com.intellij.refactoring.move.MoveHandler;
import com.intellij.util.ObjectUtils;
import com.intellij.util.containers.JBIterable;
import org.jetbrains.annotations.ApiStatus;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.jetbrains.annotations.VisibleForTesting;
import javax.swing.*;
import java.io.File;
@@ -71,7 +73,9 @@ public class CopyPasteDelegator implements CopyPasteSupport {
return myEditable;
}
final class MyEditable implements CutProvider, CopyProvider, PasteProvider, ActionUpdateThreadAware {
@VisibleForTesting
@ApiStatus.Internal
public final class MyEditable implements CutProvider, CopyProvider, PasteProvider, ActionUpdateThreadAware {
@Override
public @NotNull ActionUpdateThread getActionUpdateThread() {

View File

@@ -1,4 +1,4 @@
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
// Copyright 2000-2025 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
package com.intellij.codeInsight.folding.impl;
import com.intellij.openapi.editor.FoldRegion;
@@ -10,7 +10,7 @@ import com.intellij.testFramework.fixtures.BasePlatformTestCase;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
abstract class AbstractPsiNamesElementSignatureProviderTest extends BasePlatformTestCase {
public abstract class AbstractPsiNamesElementSignatureProviderTest extends BasePlatformTestCase {
void doTest(@NotNull String text, @NotNull String ext) {
myFixture.configureByText("test." + ext, text);