From 2036b87ccf379f14411cef76f47e2ec8a6f42547 Mon Sep 17 00:00:00 2001 From: Valentin Kipyatkov Date: Fri, 3 Oct 2014 22:46:46 +0400 Subject: [PATCH] Deleted strange unused method --- .../org/jetbrains/jet/lang/psi/JetDeclarationWithBody.java | 3 --- .../org/jetbrains/jet/lang/psi/JetFunctionNotStubbed.java | 6 ------ .../src/org/jetbrains/jet/lang/psi/JetNamedFunction.java | 6 ------ .../src/org/jetbrains/jet/lang/psi/JetPropertyAccessor.java | 6 ------ 4 files changed, 21 deletions(-) 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