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
fCurrentVersion= version;
		}
	
		/*
		 * @see IRule#evaluate
		 */
		public IToken evaluate(ICharacterScanner scanner) {
			IToken token= super.evaluate(scanner);
			if (fEnable) {
				if (fCurrentVersion.equals(fVersion))
					return token;
					
				return Token.UNDEFINED;
			} else {
				if (fCurrentVersion.equals(fVersion))
					return Token.UNDEFINED;
					
				return token;
			}
		}
	}
	
	private static final String SOURCE_VERSION= "org.eclipse.jdt.core.compiler.source"; 
	
	private static String[] fgKeywords= { 
		"abstract", 
		"break", 
		"case", "catch", "class", "const", "continue", 
		"default", "do", 
		"else", "extends",