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 testLooksLikeAccessor() throws Exception {        IPackageFragment pack = fSourceFolder.createPackageFragment("test", false, null);        String klazz =            "package test;\n" +            "public class Test {\n" +            "	String[] foo = {\"ab\", String.valueOf(Boolean.valueOf(\"cd\")), \"de\"}; //$NON-NLS-1$ //$NON-NLS-2$\n" +			"}\n";        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());        assertEquals(pack, hint.getMessageClassPackage());        assertEquals(null, hint.getResourceBundle());        assertEquals(pack, hint.getResourceBundlePackage());   }