Object[] args = new Object[n];
for (int i = 0; i < n; i++) { // fill argument array
Converter converter = cvtlib.getConverter(method.getParameterTypes()[i]);
Attribute attrib = new Attribute(String.class.equals(converter.convertsTo()) ? "title" : "NA", st.nextToken().trim());
if (converter != null) {
args[i] = converter.convert(method.getParameterTypes()[i], attrib, localizer);
} else {
args[i] = attrib.getValue();
}
}
border = (Border) method.invoke(null, args);