Java api - adding CandidateInstaller and Context