Some aspects of it look copied to me - the class's 10 fields are in identical order. Some parameters to the function look lifted straight from code generated by disassembling bytecode (flag flag1 set set1). However, these may be explainable by some other means.
http://www.wolframalpha.com/input/?i=permutations+of+10+item...