java. Extracted interfaces from descriptors, fixed #309.