{ Descriptor.class };
@SuppressWarnings("rawtypes")
Constructor cc
= klass
.getConstructor(parameterTypes);
NodeTransformDescriptor td = (NodeTransformDescriptor) cc.newInstance(new Object[] {descriptor});
td.setPropertyResolver(properties);
td.setArgs(node, name, value);
return td;
}
catch (Exception e)
{
throw new DexterException("error instantiating descriptor",e);