rewrite IJavaXExpr to ICachedJavaXExpr.