CloneSet1055


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

                Template template = getCodeTemplate(templateName, project);
                if (template == null) {
                        return bodyStatement;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), project, lineDelimiter);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, destTypeName);
                context.setVariable(CodeTemplateContextType.BODY_STATEMENT, bodyStatement);


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

                Template template = getCodeTemplate(templateName, project);
                if (template == null) {
                        return null;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), project, lineDelimiter);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, destTypeName);
                context.setVariable(CodeTemplateContextType.FIELD, fieldName);


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

                Template template = getCodeTemplate(templateName, project);
                if (template == null) {
                        return null;
                }
                CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), project, lineDelimiter);
                context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);
                context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, destTypeName);
                context.setVariable(CodeTemplateContextType.FIELD, fieldName);


Clone AbstractionParameter Count: 3Parameter Bindings

Template template = getCodeTemplate(templateName, project);
if (template == null) {
  return [[#variable59d21c20]];
}
CodeTemplateContext context = new CodeTemplateContext(template.getContextTypeId(), project, lineDelimiter);
context.setVariable(CodeTemplateContextType.ENCLOSING_METHOD, methodName);
context.setVariable(CodeTemplateContextType.ENCLOSING_TYPE, destTypeName);
context.setVariable(CodeTemplateContextType. [[#variable59b99500]],  [[#variable59b98a00]]);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59d21c20]]
bodyStatement 
12[[#59d21c20]]
null 
13[[#59d21c20]]
null 
21[[#59b99500]]
BODY_STATEMENT 
22[[#59b99500]]
FIELD 
23[[#59b99500]]
FIELD 
31[[#59b98a00]]
bodyStatement 
32[[#59b98a00]]
fieldName 
33[[#59b98a00]]
fieldName