returns the working copy remembered for the compilation unit encoded in the given editor input . note : this method must not be part of the public iworkingcopymanager api . concode_field_sep ICompilationUnitDocumentProvider fDocumentProvider concode_elem_sep boolean fIsShuttingDown concode_elem_sep Map fMap concode_field_sep void disconnect concode_elem_sep void removeWorkingCopy concode_elem_sep void setWorkingCopy concode_elem_sep void connect concode_elem_sep void shutdown
IJavaScriptUnit function ( IEditorInput arg0 , boolean arg1 ) { IJavaScriptUnit loc0 = fMap == null ? null : ( IJavaScriptUnit ) fMap . get ( arg0 ) ; if ( loc0 == null ) loc0 = fDocumentProvider . getWorkingCopy ( arg0 ) ; if ( loc0 != null && ( ! arg1 || JavaModelUtil . isPrimary ( loc0 ) ) ) return loc0 ; return null ; }