feat(ccw.jdt): function for getting jdt preferences without SWT UI Thread issues