mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
type provider for SQLAlchemy columns (PY-7243)
This commit is contained in:
@@ -7,9 +7,8 @@ import org.jetbrains.annotations.Nullable;
|
||||
|
||||
/**
|
||||
* Something that can be called, passed parameters to, and return something back.
|
||||
* <br/>
|
||||
* User: dcheryasov
|
||||
* Date: May 15, 2010 3:22:30 PM
|
||||
|
||||
* @author dcheryasov
|
||||
*/
|
||||
public interface Callable extends PyElement {
|
||||
|
||||
@@ -31,4 +30,11 @@ public interface Callable extends PyElement {
|
||||
@Nullable
|
||||
PyFunction asMethod();
|
||||
|
||||
/**
|
||||
* Returns the qualified name of the function.
|
||||
*
|
||||
* @return the qualified name of the function, or null for a lambda expression.
|
||||
*/
|
||||
@Nullable
|
||||
String getQualifiedName();
|
||||
}
|
||||
|
||||
@@ -69,6 +69,8 @@ public interface PyClass extends PsiNameIdentifierOwner, PyStatement, NameDefine
|
||||
PyFunction findInitOrNew(boolean inherited);
|
||||
|
||||
/**
|
||||
* Finds a property with the specified name in the class or one of its ancestors.
|
||||
*
|
||||
* @param name of the property
|
||||
* @return descriptor of property accessors, or null if such property does not exist.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user