Bug 15527 JavaCore constants should be used is favor of hard-coded strings
the following classes should use constants defined in JavaCode rather than hard-coded strings StubUtility CodeFormatterUtil CompilationUnitEditor JavaCodeScanner JavaCompiletionProcessor
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaCodeScanner.java
initialize();
	}
	
	/*
	 * @see AbstractJavaScanner#getTokenProperties()
	 */
	protected String[] getTokenProperties() {
		return fgTokenProperties;
	}
	/*
	 * @see AbstractJavaScanner#createRules()
	 */
	protected List createRules() {
				
		List rules= new ArrayList();		
		
		
		Token token= getToken(IJavaColorConstants.JAVA_STRING);
		rules.add(new SingleLineRule("'", "'", token, '\\')); 
				
		
		
		rules.add(new WhitespaceRule(new JavaWhitespaceDetector()));
		
		Object version= JavaCore.getOptions().get(SOURCE_VERSION);
		if (version instanceof String) {
			fVersionedWordRule= new VersionedWordRule(new JavaWordDetector(), "1.4", true, (String) version); 
			
			token= getToken(IJavaColorConstants.JAVA_KEYWORD);
			for (int i=0; i<fgNewKeywords.length; i++)