CloneSet5010


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.979statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1853
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/TemplateCompletionProposalComputer.java
2862
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/TemplateCompletionProposalComputer.java
Clone Instance
1
Line Count
8
Source Line
53
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/TemplateCompletionProposalComputer.java

                if (contextType == null) {
                        contextType = new JavaContextType();
                        JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
                }
                if (contextType != null)
                        fJavaTemplateEngine = new TemplateEngine(contextType);
                else
                        fJavaTemplateEngine = null;


Clone Instance
2
Line Count
8
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/TemplateCompletionProposalComputer.java

                if (contextType == null) {
                        contextType = new JavaDocContextType();
                        JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
                }
                if (contextType != null)
                        fJavadocTemplateEngine = new TemplateEngine(contextType);
                else
                        fJavadocTemplateEngine = null;


Clone AbstractionParameter Count: 2Parameter Bindings

if (contextType == null) {
  contextType = new [[#variable9200e2c0]]();
  JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
}
if (contextType != null)
   [[#variable9200e300]]= new TemplateEngine(contextType);
else
   [[#variable9200e300]]= null;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9200e2c0]]
JavaDocContextType 
12[[#9200e2c0]]
JavaContextType 
21[[#9200e300]]
fJavadocTemplateEngine 
22[[#9200e300]]
fJavaTemplateEngine