Class <?> efsClass = CommonPlugin.loadClass("org.eclipse.core.filesystem", "org.eclipse.core.filesystem.EFS"); efsGetStoreMethod = efsClass.getMethod("getStore", java.net.URI.class); efsGetFileSystemMethod = efsClass.getMethod("getFileSystem", String.class); Class <?> fileStoreClass = efsGetStoreMethod.getReturnType(); fileStoreOpenInputStreamMethod = fileStoreClass.getMethod("openInputStream", Integer.TYPE, IProgressMonitor.class); fileStoreOpenOutputStreamMethod = fileStoreClass.getMethod("openOutputStream", Integer.TYPE, IProgressMonitor.class);
Class <?> efsClass = CommonPlugin.loadClass("org.eclipse.core.filesystem", "org.eclipse.core.filesystem.EFS"); efsGetStoreMethod = efsClass.getMethod("getStore", java.net.URI.class); efsGetFileSystemMethod = efsClass.getMethod("getFileSystem", String.class); Class <?> fileStoreClass = efsGetStoreMethod.getReturnType(); fileStoreOpenInputStreamMethod = fileStoreClass.getMethod("openInputStream", Integer.TYPE, IProgressMonitor.class); fileStoreOpenOutputStreamMethod = fileStoreClass.getMethod("openOutputStream", Integer.TYPE, IProgressMonitor.class);
Clone fragments detected by clone detection tool
File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/EFSURIHandlerImpl.java File path: /emf-2.4.1/src/org/eclipse/emf/ecore/resource/impl/URIConverterImpl.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
Class <?> efsClass  = CommonPlugin.loadClass("org.eclipse.core.filesystem", "org.eclipse.core.filesystem.EFS");
1
Class <?> efsClass  = CommonPlugin.loadClass("org.eclipse.core.filesystem", "org.eclipse.core.filesystem.EFS");
2
      efsGetStoreMethod = efsClass.getMethod("getStore", java.net.URI.class);
2
      efsGetStoreMethod = efsClass.getMethod("getStore", java.net.URI.class);
3
      efsGetFileSystemMethod = efsClass.getMethod("getFileSystem", String.class);
3
      efsGetFileSystemMethod = efsClass.getMethod("getFileSystem", String.class);
4
      Class <?> fileStoreClass = efsGetStoreMethod.getReturnType();
4
      Class <?> fileStoreClass = efsGetStoreMethod.getReturnType();
5
      fileStoreOpenInputStreamMethod = fileStoreClass.getMethod("openInputStream", Integer.TYPE, IProgressMonitor.class);
5
      fileStoreOpenInputStreamMethod = fileStoreClass.getMethod("openInputStream", Integer.TYPE, IProgressMonitor.class);
6
      fileStoreOpenOutputStreamMethod = fileStoreClass.getMethod("openOutputStream", Integer.TYPE, IProgressMonitor.class);
6
      fileStoreOpenOutputStreamMethod = fileStoreClass.getMethod("openOutputStream", Integer.TYPE, IProgressMonitor.class);
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0