mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-06 03:21:12 +07:00
fix BaseExtResourceAction visibility
GitOrigin-RevId: f3cf04fa81d3955328d6f19aa989f07c92816232
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a81976e3a2
commit
2328360b7c
@@ -130,7 +130,8 @@ public final class APIWrappers {
|
||||
T getWrapperDelegate();
|
||||
}
|
||||
|
||||
abstract static class DynamicWrapper<T> implements WrapperDelegateAccessor<T> {
|
||||
@ApiStatus.Internal
|
||||
public abstract static class DynamicWrapper<T> implements WrapperDelegateAccessor<T> {
|
||||
|
||||
private final T myDelegate;
|
||||
|
||||
@@ -191,7 +192,8 @@ public final class APIWrappers {
|
||||
}
|
||||
}
|
||||
|
||||
static class ProcessorWrapper extends DynamicWrapper<Processor> {
|
||||
@ApiStatus.Internal
|
||||
public static final class ProcessorWrapper extends DynamicWrapper<Processor> {
|
||||
private final ProcessingContext myProcessingContext;
|
||||
private boolean myCodeShown = false;
|
||||
private ProcessingEnvironment myProcessingEnv;
|
||||
|
||||
@@ -1,16 +1,18 @@
|
||||
// Copyright 2000-2023 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 org.jetbrains.jps.builders.java;
|
||||
|
||||
import com.intellij.openapi.util.SystemInfoRt;
|
||||
import com.intellij.openapi.util.io.FileUtil;
|
||||
import com.intellij.openapi.util.io.FileUtilRt;
|
||||
import com.intellij.openapi.util.text.Strings;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileFilter;
|
||||
import java.util.function.BiFunction;
|
||||
|
||||
final class JavadocSnippetsSkipFilter implements FileFilter {
|
||||
@ApiStatus.Internal
|
||||
public final class JavadocSnippetsSkipFilter implements FileFilter {
|
||||
public static final String SNIPPETS_FOLDER = "snippet-files";
|
||||
|
||||
private static final String SNIPPETS_FOLDER_PATTERN = "/" + SNIPPETS_FOLDER + "/";
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
// 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 org.jetbrains.jps.builders.java.dependencyView;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
interface NamingContext {
|
||||
@ApiStatus.Internal
|
||||
public interface NamingContext {
|
||||
|
||||
/**
|
||||
* @param val internal integer representation of some name in dependency graph (class name, methot name, field name, etc)
|
||||
|
||||
@@ -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 org.jetbrains.jps.builders.java.dependencyView;
|
||||
|
||||
import com.intellij.util.PairProcessor;
|
||||
@@ -7,6 +7,7 @@ import com.intellij.util.io.AppendablePersistentMap;
|
||||
import com.intellij.util.io.DataExternalizer;
|
||||
import com.intellij.util.io.KeyDescriptor;
|
||||
import com.intellij.util.io.PersistentHashMap;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.jps.builders.storage.BuildDataCorruptedException;
|
||||
|
||||
@@ -15,7 +16,8 @@ import java.util.Collection;
|
||||
import java.util.Collections;
|
||||
import java.util.function.Supplier;
|
||||
|
||||
class ObjectObjectPersistentMultiMaplet<K, V> extends ObjectObjectMultiMaplet<K, V>{
|
||||
@ApiStatus.Internal
|
||||
public class ObjectObjectPersistentMultiMaplet<K, V> extends ObjectObjectMultiMaplet<K, V>{
|
||||
private static final Collection<?> NULL_COLLECTION = Collections.emptySet();
|
||||
private static final int CACHE_SIZE = 512;
|
||||
private final PersistentHashMap<K, Collection<V>> myMap;
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
// 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 git4idea.commands;
|
||||
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
|
||||
class BufferingTextSplitter {
|
||||
@ApiStatus.Internal
|
||||
public final class BufferingTextSplitter {
|
||||
private final @NotNull StringBuilder myLineBuffer = new StringBuilder();
|
||||
private boolean myBufferedCr = false;
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 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 git4idea.commands;
|
||||
|
||||
import com.google.common.annotations.VisibleForTesting;
|
||||
@@ -29,6 +29,7 @@ import git4idea.remote.GitHttpAuthDataProvider;
|
||||
import git4idea.remote.GitRememberedInputs;
|
||||
import git4idea.remote.GitRepositoryHostingService;
|
||||
import git4idea.remote.InteractiveGitHttpAuthDataProvider;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
@@ -50,7 +51,8 @@ import static com.intellij.credentialStore.CredentialAttributesKt.generateServic
|
||||
* <p>
|
||||
* git version <=1.7.7 does not provide url for methods (method parameter will be a blank line)
|
||||
*/
|
||||
class GitHttpGuiAuthenticator implements GitHttpAuthenticator {
|
||||
@ApiStatus.Internal
|
||||
public final class GitHttpGuiAuthenticator implements GitHttpAuthenticator {
|
||||
|
||||
private static final Logger LOG = Logger.getInstance(GitHttpGuiAuthenticator.class);
|
||||
private static final String HTTP_SCHEME_URL_PREFIX = "http" + URLUtil.SCHEME_SEPARATOR;
|
||||
|
||||
@@ -9,7 +9,7 @@ import com.jetbrains.python.PyTokenTypes;
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
|
||||
|
||||
class _PythonLexer implements FlexLexerEx {
|
||||
public final class _PythonLexer implements FlexLexerEx {
|
||||
|
||||
/** This character denotes the end of file */
|
||||
public static final int YYEOF = -1;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 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.quickfix;
|
||||
|
||||
import com.intellij.codeInsight.intention.impl.BaseIntentionAction;
|
||||
@@ -11,11 +11,12 @@ import com.intellij.psi.impl.source.resolve.reference.impl.providers.URLReferenc
|
||||
import com.intellij.psi.xml.XmlFile;
|
||||
import com.intellij.util.IncorrectOperationException;
|
||||
import com.intellij.xml.XmlBundle;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
abstract class BaseExtResourceAction extends BaseIntentionAction {
|
||||
|
||||
@ApiStatus.Internal
|
||||
public abstract class BaseExtResourceAction extends BaseIntentionAction {
|
||||
@Override
|
||||
public boolean isAvailable(@NotNull Project project, Editor editor, PsiFile file) {
|
||||
if (!(file instanceof XmlFile)) return false;
|
||||
|
||||
@@ -1,13 +1,15 @@
|
||||
// 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.
|
||||
// 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.emmet.generators;
|
||||
|
||||
import com.intellij.openapi.util.text.StringUtil;
|
||||
import com.intellij.util.ArrayUtilRt;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
|
||||
import java.util.*;
|
||||
|
||||
public class LoremGenerator {
|
||||
static final String[] COMMON_P = "lorem ipsum dolor sit amet consectetur adipisicing elit".split(" ");
|
||||
public final class LoremGenerator {
|
||||
@ApiStatus.Internal
|
||||
public static final String[] COMMON_P = "lorem ipsum dolor sit amet consectetur adipisicing elit".split(" ");
|
||||
private static final String[] WORDS = new String[]{"exercitationem", "perferendis", "perspiciatis", "laborum", "eveniet",
|
||||
"sunt", "iure", "nam", "nobis", "eum", "cum", "officiis", "excepturi",
|
||||
"odio", "consectetur", "quasi", "aut", "quisquam", "vel", "eligendi",
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
// Copyright 2000-2023 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.xml.index;
|
||||
|
||||
import com.intellij.openapi.project.Project;
|
||||
@@ -14,8 +14,10 @@ import com.intellij.util.text.CharArrayUtil;
|
||||
import com.intellij.util.xml.NanoXmlBuilder;
|
||||
import com.intellij.util.xml.NanoXmlUtil;
|
||||
import com.intellij.xml.util.XmlUtil;
|
||||
import org.jetbrains.annotations.ApiStatus;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.VisibleForTesting;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.io.Reader;
|
||||
@@ -37,7 +39,9 @@ public final class XmlTagNamesIndex extends XmlIndex<Void> {
|
||||
return FileBasedIndex.getInstance().getAllKeys(NAME, project);
|
||||
}
|
||||
|
||||
static final ID<String, Void> NAME = ID.create("XmlTagNames");
|
||||
@VisibleForTesting
|
||||
@ApiStatus.Internal
|
||||
public static final ID<String, Void> NAME = ID.create("XmlTagNames");
|
||||
|
||||
@Override
|
||||
public @NotNull ID<String, Void> getName() {
|
||||
|
||||
Reference in New Issue
Block a user