CloneSet2768


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10320.980class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1101339
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
2101354
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
3101369
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java
Clone Instance
1
Line Count
10
Source Line
1339
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

        /**
         * Returns the working directory attribute for this scrapbook
         */
        protected String getWorkingDirectoryAttribute() {
                IFile file = getFile();
                if (file != null) {
                        try {
                                return ScrapbookLauncher.getWorkingDirectoryAttribute(file);
                        } catch (CoreException e) {
                                JDIDebugUIPlugin.log(e);
                          }
                }
                return null;
        }


Clone Instance
2
Line Count
10
Source Line
1354
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

        /**
         * Returns the working directory attribute for this scrapbook
         */
        protected String getVMArgsAttribute() {
                IFile file = getFile();
                if (file != null) {
                        try {
                                return ScrapbookLauncher.getVMArgsAttribute(file);
                        } catch (CoreException e) {
                                JDIDebugUIPlugin.log(e);
                          }
                }
                return null;
        }


Clone Instance
3
Line Count
10
Source Line
1369
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java

        /**
         * Returns the vm install for this scrapbook
         */
        protected IVMInstall getVMInstall() {
                IFile file = getFile();
                if (file != null) {
                        try {
                                return ScrapbookLauncher.getVMInstall(file);
                        } catch (CoreException e) {
                                JDIDebugUIPlugin.log(e);
                          }
                }
                return null;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * Returns the working directory attribute for this scrapbook
         */
/**
         * Returns the vm install for this scrapbook
         */
protected [[#variablebac3e4c0]]  [[#variablebac3e440]]() {
  IFile file = getFile();
  if (file != null) {
    try {
      return ScrapbookLauncher. [[#variablebac3e440]](file);
    }
    catch (CoreException e) {
      JDIDebugUIPlugin.log(e);
    }
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bac3e4c0]]
String 
12[[#bac3e4c0]]
String 
13[[#bac3e4c0]]
IVMInstall 
21[[#bac3e440]]
getWorkingDirectoryAttribute 
22[[#bac3e440]]
getVMArgsAttribute 
23[[#bac3e440]]
getVMInstall