diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetDeclarationWithBody.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetDeclarationWithBody.java index 328031b022b..3a37b0479e9 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetDeclarationWithBody.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetDeclarationWithBody.java @@ -35,9 +35,6 @@ public interface JetDeclarationWithBody extends JetDeclaration { boolean hasDeclaredReturnType(); - @NotNull - JetElement asElement(); - @NotNull List getValueParameters(); } diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetFunctionNotStubbed.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetFunctionNotStubbed.java index 64d3c1297ad..48d16ddc054 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetFunctionNotStubbed.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetFunctionNotStubbed.java @@ -93,12 +93,6 @@ abstract public class JetFunctionNotStubbed extends JetTypeParameterListOwnerNot return null; } - @NotNull - @Override - public JetElement asElement() { - return this; - } - @Override public boolean isLocal() { PsiElement parent = getParent(); diff --git a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java index 271cc43a7e3..f3a94f0c1bd 100644 --- a/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java +++ b/compiler/frontend/src/org/jetbrains/jet/lang/psi/JetNamedFunction.java @@ -195,12 +195,6 @@ public class JetNamedFunction extends JetTypeParameterListOwnerStub