[groovy] GrDelegatesToInfo -> DefaultDelegatesToProvider

This commit is contained in:
Daniil Ovchinnikov
2016-10-19 21:52:32 +03:00
parent db89eed516
commit 60c23c1d4b
2 changed files with 2 additions and 2 deletions
@@ -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) {
@@ -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)