This is essentially a copy of org.eclipse.ui.internal.editors.text.JavaFileEditorInput. But in 3.3 this class was removed, and it's internal anyways so we shouldn't use it to start with
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.