Bug 41868 Declaration View does not refresh when you change Java-code color preferences
org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/infoviews/SourceView.java
if (fViewer == null || !(input instanceof ISourceReference))
			return null;
		ISourceReference sourceRef= (ISourceReference)input;
		
		if (fLastOpenedElement != null && input instanceof IJavaElement && ((IJavaElement)input).getHandleIdentifier().equals(fLastOpenedElement.getHandleIdentifier())) {
			fLastOpenedElement= null;
			return null;
		} else {
			fLastOpenedElement= null;
		}
		String source;
		try {
			source= sourceRef.getSource();
		} catch (JavaModelException ex) {
			return null;
		}
		
		if (source == null)
			return null;
		source= removeLeadingComments(source);
		String delim= null;
		try {
			if (input instanceof IJavaElement)
			delim= StubUtility.getLineDelimiterUsed((IJavaElement)input);
		} catch (JavaModelException e) {
			delim= System.getProperty("line.separator", "\n"); 
		}
		String[] sourceLines= Strings.convertIntoLines(source);
		String firstLine= sourceLines[0];
		if (!Character.isWhitespace(firstLine.charAt(0)))