* @param include
* @return
*/
public static int include2stream(Include include) {
TranslationUnit tu = (TranslationUnit) include.eContainer();
Resource resource = tu.eResource();
ResourceSet resourceSet = resource.getResourceSet();
EList<Resource> resources = resourceSet.getResources();
int result = tu.getIncludes().indexOf(include);
int res = resources.indexOf(resource);