com.jetbrains.python.refactoring.move.PyModuleMemberInfo Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of python-community Show documentation
Show all versions of python-community Show documentation
A packaging of the IntelliJ Community Edition python-community library.
This is release number 1 of trunk branch 142.
The newest version!
package com.jetbrains.python.refactoring.move;
import com.intellij.refactoring.classMembers.MemberInfoBase;
import com.jetbrains.python.psi.PyElement;
/**
* Helper object that describes top-level symbol of the module (class, function or assignment) for
* the table in "Move ..." dialog. Concrete properties of given symbol is described in {@link PyModuleMemberInfoModel}.
*
* @author Mikhail Golubev
* @see PyModuleMemberInfoModel
*/
class PyModuleMemberInfo extends MemberInfoBase {
public PyModuleMemberInfo(PyElement member) {
super(member);
}
@Override
public boolean isStatic() {
return true;
}
@Override
public String getDisplayName() {
return getMember().getName();
}
@Override
public String toString() {
return "PyModuleMemberInfo(" + getMember() + ")";
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy