mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 23:31:05 +07:00
PY-46623 Refactor PyKnownDecorator and related classes to be extendable
PyKnownDecorator is now a class instead of an enum, allowing extension to create new instances GitOrigin-RevId: 846617f68e559f7f77af15a999f837391ac3090e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
3df8d77318
commit
bf6e4735b6
@@ -1,13 +0,0 @@
|
||||
// Copyright 2000-2021 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.psi;
|
||||
|
||||
import com.intellij.openapi.extensions.ExtensionPointName;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
|
||||
|
||||
public interface PyKnownDecoratorProvider {
|
||||
ExtensionPointName<PyKnownDecoratorProvider> EP_NAME = ExtensionPointName.create("Pythonid.knownDecoratorProvider");
|
||||
|
||||
@Nullable
|
||||
String toKnownDecorator(String decoratorName);
|
||||
}
|
||||
Reference in New Issue
Block a user