Problem: need some Java

Solution: generate Java codec