This is a pretty gnarly line of Java.  Can we split out some local vars to help the readability?