Fixed rename for old-style properties and properties with lambdas (PY-8315)

This commit is contained in:
Andrey Vlasovskikh
2013-01-28 15:40:00 +04:00
parent 20aacf1c24
commit a9a2672557
11 changed files with 124 additions and 30 deletions
@@ -136,11 +136,11 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, NameDefine
/**
* Non-recursively searches for a property for which the given function is a getter, setter or deleter.
*
* @param function the function which may be an accessor
* @param callable the function which may be an accessor
* @return the property, or null
*/
@Nullable
Property findPropertyByFunction(PyFunction function);
Property findPropertyByCallable(Callable callable);
/**
* @param parent