mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
PyParameter.isSelf(); highlight first argument of @classmethod as self (PY-6881)
This commit is contained in:
@@ -26,4 +26,10 @@ public interface PyParameter extends PyElement {
|
||||
PyExpression getDefaultValue();
|
||||
|
||||
boolean hasDefaultValue();
|
||||
|
||||
/**
|
||||
* @return true if the parameter is the 'self' parameter of an instance attribute function or a function
|
||||
* annotated with @classmethod
|
||||
*/
|
||||
boolean isSelf();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user