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
"final", "finally", "for", 
		"goto", 
		"if", "implements", "import", "instanceof", "interface", 
		"native", "new", 
		"package", "private", "protected", "public", 
		"return", 
		"static", "super", "switch", "synchronized", 
		"this", "throw", "throws", "transient", "try", 
		"volatile", 
		"while" 
	};
	
	private static String[] fgNewKeywords= { "assert" }; 
	
	private static String[] fgTypes= { "void", "boolean", "char", "byte", "short", "strictfp", "int", "long", "float", "double" }; 
	
	private static String[] fgConstants= { "false", "null", "true" }; 
	
	private static String[] fgTokenProperties= {
		IJavaColorConstants.JAVA_KEYWORD,
		IJavaColorConstants.JAVA_STRING,
		IJavaColorConstants.JAVA_DEFAULT
	};
	
	private VersionedWordRule fVersionedWordRule;
	/**
	 * Creates a Java code scanner
	 */
	public JavaCodeScanner(IColorManager manager, IPreferenceStore store) {
		super(manager, store);