mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-04-19 04:51:24 +07:00
[kotlin] KTIJ-29075 Available kotlin run configuration in dumb mode
GitOrigin-RevId: bd99306e5794a7f4c483c6f664f5d52204a462e2
This commit is contained in:
committed by
intellij-monorepo-bot
parent
86a3121d51
commit
c9372a4ec8
@@ -115,9 +115,10 @@ public final class PsiMethodUtil {
|
||||
}
|
||||
|
||||
private static boolean isJavaLangStringArray(@NotNull PsiParameter parameter) {
|
||||
final PsiType type = parameter.getType();
|
||||
if (!(type instanceof PsiArrayType)) return false;
|
||||
try {
|
||||
final PsiType type = parameter.getType();
|
||||
if (!(type instanceof PsiArrayType)) return false;
|
||||
|
||||
return DumbService.getInstance(parameter.getProject()).computeWithAlternativeResolveEnabled(
|
||||
(ThrowableComputable<Boolean, Throwable>)() -> {
|
||||
final PsiType componentType = ((PsiArrayType)type).getComponentType();
|
||||
|
||||
Reference in New Issue
Block a user