mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
IJI-2602 fix super-class visibility
GitOrigin-RevId: 6ba76539d1e6b5e50227ce3d8cd1452f5f284e48
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b16d41fed3
commit
6fa704d95d
@@ -17,7 +17,7 @@ import java.util.Collection;
|
||||
*
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
public final class CommandLineArgumentReference extends CommandLineElementReference<CommandLineArgument> {
|
||||
final class CommandLineArgumentReference extends CommandLineElementReference<CommandLineArgument> {
|
||||
CommandLineArgumentReference(final @NotNull CommandLineArgument element) {
|
||||
super(element);
|
||||
}
|
||||
|
||||
@@ -17,8 +17,7 @@ import java.util.List;
|
||||
*
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
public final class CommandLineCommandReference extends CommandLineElementReference<CommandLineCommand> {
|
||||
|
||||
final class CommandLineCommandReference extends CommandLineElementReference<CommandLineCommand> {
|
||||
CommandLineCommandReference(final @NotNull CommandLineCommand element) {
|
||||
super(element);
|
||||
}
|
||||
@@ -28,7 +27,6 @@ public final class CommandLineCommandReference extends CommandLineElementReferen
|
||||
return null;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public Object @NotNull [] getVariants() {
|
||||
final CommandLineFile file = getCommandLineFile();
|
||||
|
||||
@@ -15,7 +15,7 @@ import java.util.List;
|
||||
*
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
public final class CommandLineOptionReference extends CommandLineElementReference<CommandLineOption> {
|
||||
final class CommandLineOptionReference extends CommandLineElementReference<CommandLineOption> {
|
||||
CommandLineOptionReference(final @NotNull CommandLineOption element) {
|
||||
super(element);
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import org.jetbrains.annotations.NotNull;
|
||||
*
|
||||
* @author Ilya.Kazakevich
|
||||
*/
|
||||
public final class CommandLineReferenceContributor extends PsiReferenceContributor {
|
||||
final class CommandLineReferenceContributor extends PsiReferenceContributor {
|
||||
private static final ReferenceProvider REFERENCE_PROVIDER = new ReferenceProvider();
|
||||
|
||||
@Override
|
||||
@@ -22,11 +22,9 @@ public final class CommandLineReferenceContributor extends PsiReferenceContribut
|
||||
registrar.registerReferenceProvider(PlatformPatterns.psiElement(CommandLineElement.class), REFERENCE_PROVIDER);
|
||||
}
|
||||
|
||||
|
||||
private static class ReferenceProvider extends PsiReferenceProvider {
|
||||
private static final class ReferenceProvider extends PsiReferenceProvider {
|
||||
@Override
|
||||
public final PsiReference @NotNull [] getReferencesByElement(final @NotNull PsiElement element,
|
||||
final @NotNull ProcessingContext context) {
|
||||
public PsiReference @NotNull [] getReferencesByElement(final @NotNull PsiElement element, final @NotNull ProcessingContext context) {
|
||||
if (element instanceof CommandLineCommand) {
|
||||
return new PsiReference[]{new CommandLineCommandReference((CommandLineCommand)element)};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user