Here's the new rev.
To get the blend options, you need to specify and additional parameter:
Code: Select allvar desc = Styles.getLayerStyleDescriptor(doc, layer, true);
This will return a descriptor with:
cTID('FlIn') - the File Info descriptor
cTID('Lefx') - the Style descriptor (which was returned before)
sTID('blendOptions') - the blend options descriptor
If the third parameter is not set or is false, the style descriptor itself is return, as was done before.
-X