java. Generified descriptors, fixed #274.