mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider
This commit is contained in:
+1
-1
@@ -50,7 +50,7 @@ import static org.jetbrains.plugins.groovy.lang.resolve.delegatesTo.GrDelegatesT
|
||||
/**
|
||||
* @author Max Medvedev
|
||||
*/
|
||||
public class GrDelegatesToUtil {
|
||||
public class DefaultDelegatesToProvider {
|
||||
|
||||
@Nullable
|
||||
public static DelegatesToInfo getDelegatesToInfo(@NotNull final GrClosableBlock closableBlock) {
|
||||
+1
-1
@@ -21,4 +21,4 @@ import org.jetbrains.plugins.groovy.lang.psi.api.statements.blocks.GrClosableBlo
|
||||
@JvmField val DELEGATES_TO_KEY = Key.create<String>("groovy.closure.delegatesTo.type")
|
||||
@JvmField val DELEGATES_TO_STRATEGY_KEY = Key.create<Int>("groovy.closure.delegatesTo.strategy")
|
||||
|
||||
fun getDelegatesToInfo(closure: GrClosableBlock): DelegatesToInfo? = GrDelegatesToUtil.getDelegatesToInfo(closure)
|
||||
fun getDelegatesToInfo(closure: GrClosableBlock): DelegatesToInfo? = DefaultDelegatesToProvider.getDelegatesToInfo(closure)
|
||||
|
||||
Reference in New Issue
Block a user