diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/stubs/PsiJetFunctionStub.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/stubs/PsiJetFunctionStub.java index 448888cbe57..eab6ffbd588 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/stubs/PsiJetFunctionStub.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/stubs/PsiJetFunctionStub.java @@ -28,6 +28,8 @@ public interface PsiJetFunctionStub extends PsiJetStubWithFqName implement private final FqName fqName; private final boolean hasBlockBody; private final boolean hasBody; + private final boolean hasTypeParameterListBeforeFunctionName; public PsiJetFunctionStubImpl( @NotNull StubElement parent, @@ -43,7 +44,8 @@ public class PsiJetFunctionStubImpl extends StubBase implement @Nullable FqName fqName, boolean isExtension, boolean hasBlockBody, - boolean hasBody + boolean hasBody, + boolean hasTypeParameterListBeforeFunctionName ) { super(parent, JetStubElementTypes.FUNCTION); @@ -57,6 +59,7 @@ public class PsiJetFunctionStubImpl extends StubBase implement this.isExtension = isExtension; this.hasBlockBody = hasBlockBody; this.hasBody = hasBody; + this.hasTypeParameterListBeforeFunctionName = hasTypeParameterListBeforeFunctionName; } @Override @@ -84,6 +87,11 @@ public class PsiJetFunctionStubImpl extends StubBase implement return hasBody; } + @Override + public boolean hasTypeParameterListBeforeFunctionName() { + return hasTypeParameterListBeforeFunctionName; + } + @NotNull @Override public String[] getAnnotations() {