| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 2 | 0.979 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 53 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/TemplateCompletionProposalComputer.java |
| 2 | 8 | 62 | 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;
|
| ||||
if (contextType == null) {
contextType = new JavaDocContextType();
JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
}
if (contextType != null)
fJavadocTemplateEngine = new TemplateEngine(contextType);
else
fJavadocTemplateEngine = null;
|
| |||
if (contextType == null) {
contextType = new [[#variable9200e2c0]]();
JavaPlugin.getDefault().getTemplateContextRegistry().addContextType(contextType);
}
if (contextType != null)
[[#variable9200e300]]= new TemplateEngine(contextType);
else
[[#variable9200e300]]= null;
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9200e2c0]] | JavaDocContextType |
| 1 | 2 | [[#9200e2c0]] | JavaContextType |
| 2 | 1 | [[#9200e300]] | fJavadocTemplateEngine |
| 2 | 2 | [[#9200e300]] | fJavaTemplateEngine |