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 testNoAccessorClassHint1() throws Exception {    	IPackageFragment pack = fSourceFolder.createPackageFragment("test", false, null);    	String klazz =     		"package test;\n" +    		"public class Test {" +			"	private String str=\"whateverKey\".toString();//$NON-NLS-1$\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());    	    }