IASTNodeAdapter<? extends SimpleNode> parentScopeAdapter = scopeAdapter.getParent();
while (parentScopeAdapter instanceof FunctionDefAdapter) {
parentScopeAdapter = parentScopeAdapter.getParent();
}
if (parentScopeAdapter instanceof IClassDefAdapter) {
argsList.add(new Name("self", Name.Load, false));
}
}
for (String variable : this.parameters) {
argsList.add(new Name(variable, Name.Param, false));
}
return argsList;
}