String methodToCreate = headAndTail[1];
if (headAndTail[0].equals("self")) {
//creating something in the current class -- note that if it was self.bar here, we'd treat it as regular
//(i.e.: no special support for self), so, we wouldn't enter here!
int firstCharPosition = PySelection.getFirstCharPosition(lineContents);
LineStartingScope scopeStart = callPs.getPreviousLineThatStartsScope(PySelection.CLASS_TOKEN, false,
firstCharPosition);
String classNameInLine = null;
if (scopeStart != null) {
for (Boolean isCall : new Boolean[] { true, false }) {
PyCreateMethodOrField pyCreateMethod = new PyCreateMethodOrField();