NLSHolder nlsHolder = NLSHolder.create(cu); NLSHint hint = new NLSHint(nlsHolder.getSubstitutions(), cu);
NLSHolder nlsHolder = NLSHolder.create(cu, new NLSInfo(cu)); NLSHint hint = new NLSHint(nlsHolder.getSubstitutions(), cu, new NLSInfo(cu));
    public void testNoAccessorClassHint3() throws Exception {        IPackageFragment pack = fSourceFolder.createPackageFragment("test", false, null);        String klazz = "package test;\n" + TEST_KLAZZ;        ICompilationUnit cu= pack.createCompilationUnit("Test.java", klazz, false, null);        NLSHolder nlsHolder = NLSHolder.create(cu);        NLSHint hint = new NLSHint(nlsHolder.getSubstitutions(), cu);        assertEquals(null, hint.getMessageClass());    }