add clarifying comments around JavaResolveUtil.getContextClass