mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
don't calculate grails domain return types on service initialization
This commit is contained in:
-14
@@ -244,8 +244,6 @@ public class DynamicMemberUtils {
|
||||
|
||||
private static class GrDynamicMethodWithCache extends GrDynamicMethodImpl implements DynamicElement {
|
||||
|
||||
private PsiType myInferredReturnType;
|
||||
private PsiType myReturnType;
|
||||
private PsiTypeParameter[] myTypeParameters;
|
||||
private GrParameterList myParameterList;
|
||||
private String[] namedParameters;
|
||||
@@ -254,8 +252,6 @@ public class DynamicMemberUtils {
|
||||
|
||||
public GrDynamicMethodWithCache(GrMethod method, String source) {
|
||||
super(method);
|
||||
myInferredReturnType = super.getInferredReturnType();
|
||||
myReturnType = super.getReturnType();
|
||||
myTypeParameters = super.getTypeParameters();
|
||||
myParameterList = super.getParameterList();
|
||||
namedParameters = super.getNamedParametersArray();
|
||||
@@ -267,16 +263,6 @@ public class DynamicMemberUtils {
|
||||
return myMethod.getText();
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiType getInferredReturnType() {
|
||||
return myInferredReturnType;
|
||||
}
|
||||
|
||||
@Override
|
||||
public PsiType getReturnType() {
|
||||
return myReturnType;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public PsiTypeParameter[] getTypeParameters() {
|
||||
|
||||
Reference in New Issue
Block a user