List<INodeAdapter> attributes = new ArrayList<INodeAdapter>();
for (int index : attributeSelection) {
attributes.add(clazz.getAttributes().get(index));
}
ConstructorFieldRequest req = new ConstructorFieldRequest(clazz, attributes, this.offsetStrategy,
new AdapterPrefs("\n", new IGrammarVersionProvider() {
public int getGrammarVersion() throws MisconfigurationException {
return IGrammarVersionProvider.GRAMMAR_PYTHON_VERSION_2_7;
}