Projection library in Java