use of com.intellij.openapi.util.JDOMExternalizableStringList in project intellij-community by JetBrains.
the class MethodParameterInjection method readOldFormat.
private void readOldFormat(final Element e) {
final JDOMExternalizableStringList list = new JDOMExternalizableStringList();
try {
list.readExternal(e);
} catch (IllegalDataException ignored) {
}
if (list.isEmpty())
return;
final boolean[] selection = new boolean[list.size()];
for (int i = 0; i < list.size(); i++) {
selection[i] = Boolean.parseBoolean(list.get(i));
}
final String methodSignature = fixSignature(JDOMExternalizer.readString(e, "METHOD"), false);
myParameterMap.put(methodSignature, new MethodInfo(methodSignature, selection, false));
}
Aggregations