mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-49791 (Grails: variable defined in g:each tag is not resolved in the element's body)
This commit is contained in:
+5
-2
@@ -19,12 +19,16 @@ package org.jetbrains.plugins.groovy.lang.psi.impl;
|
||||
import com.intellij.pom.java.LanguageLevel;
|
||||
import com.intellij.psi.*;
|
||||
import com.intellij.psi.search.GlobalSearchScope;
|
||||
import com.intellij.psi.util.PsiUtil;
|
||||
import org.jetbrains.annotations.NonNls;
|
||||
import org.jetbrains.annotations.NotNull;
|
||||
import org.jetbrains.annotations.Nullable;
|
||||
import org.jetbrains.plugins.groovy.lang.psi.api.GroovyResolveResult;
|
||||
import org.jetbrains.plugins.groovy.lang.psi.api.types.GrCodeReferenceElement;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @author ven
|
||||
*/
|
||||
@@ -62,8 +66,7 @@ public class GrClassReferenceType extends PsiClassType {
|
||||
|
||||
@NotNull
|
||||
public PsiType[] getParameters() {
|
||||
//todo
|
||||
return PsiType.EMPTY_ARRAY;
|
||||
return myReferenceElement.getTypeArguments();
|
||||
}
|
||||
|
||||
@NotNull
|
||||
|
||||
Reference in New Issue
Block a user