add < to java.util.Optional getter