CloneSet690


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8410.982statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18360
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
29468
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
38491
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
48558
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java
Clone Instance
1
Line Count
8
Source Line
360
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                Template template = getCodeTemplate(templateName, cu.getJavaProject());
                if (template == null) {
                        return null;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), cu.getJavaProject(), lineDelimiter);
                context.setCompilationUnitVariables(cu);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, typeName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);


Clone Instance
2
Line Count
9
Source Line
468
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                Template template = getCodeTemplate(templateName, cu.getJavaProject());
                if (template == null) {
                        return null;
                }

                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), cu.getJavaProject(), lineDelimiter);
                context.setCompilationUnitVariables(cu);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, typeName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);


Clone Instance
3
Line Count
8
Source Line
491
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                Template template = getCodeTemplate(templateName, cu.getJavaProject());
                if (template == null) {
                        return null;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), cu.getJavaProject(), lineDelimiter);
                context.setCompilationUnitVariables(cu);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, typeName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);


Clone Instance
4
Line Count
8
Source Line
558
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/StubUtility.java

                Template template = getCodeTemplate(templateName, cu.getJavaProject());
                if (template == null) {
                        return null;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), cu.getJavaProject(), lineDelimiter);
                context.setCompilationUnitVariables(cu);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, typeName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, decl.getName().getIdentifier());


Clone AbstractionParameter Count: 1Parameter Bindings

Template template = getCodeTemplate(templateName, cu.getJavaProject());
if (template == null) {
  return null;
}
CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), cu.getJavaProject(), lineDelimiter);
context.setCompilationUnitVariables(cu);
context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, typeName);
context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD,  [[#variablebb1fa6c0]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#bb1fa6c0]]
methodName 
12[[#bb1fa6c0]]
decl.getName().getIdentifier() 
13[[#bb1fa6c0]]
methodName 
14[[#bb1fa6c0]]
methodName