Deleted strange unused method
This commit is contained in:
@@ -35,9 +35,6 @@ public interface JetDeclarationWithBody extends JetDeclaration {
|
||||
|
||||
boolean hasDeclaredReturnType();
|
||||
|
||||
@NotNull
|
||||
JetElement asElement();
|
||||
|
||||
@NotNull
|
||||
List<JetParameter> getValueParameters();
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
|
||||
@@ -195,12 +195,6 @@ public class JetNamedFunction extends JetTypeParameterListOwnerStub<PsiJetFuncti
|
||||
return null;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public JetElement asElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isLocal() {
|
||||
PsiElement parent = getParent();
|
||||
|
||||
@@ -108,12 +108,6 @@ public class JetPropertyAccessor extends JetDeclarationStub<PsiJetPropertyAccess
|
||||
return true;
|
||||
}
|
||||
|
||||
@NotNull
|
||||
@Override
|
||||
public JetElement asElement() {
|
||||
return this;
|
||||
}
|
||||
|
||||
@Nullable
|
||||
public JetTypeReference getReturnTypeReference() {
|
||||
return getStubOrPsiChild(JetStubElementTypes.TYPE_REFERENCE);
|
||||
|
||||
Reference in New Issue
Block a user