Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 4 | 0.970 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 48 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/contentassist/JavaDebugContentAssistProcessor.java |
2 | 8 | 49 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetCompletionProcessor.java |
| ||||
public JavaDebugContentAssistProcessor(IJavaDebugContentAssistContext context) { fContext = context; TemplateContextType contextType = JavaPlugin.getDefault().getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$ if (contextType != null) { fTemplateEngine = new TemplateEngine(contextType); } fComparator = new CompletionProposalComparator(); } |
| ||||
public JavaSnippetCompletionProcessor(JavaSnippetEditor editor) { fEditor = editor; TemplateContextType contextType = JavaPlugin.getDefault().getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$ if (contextType != null) { fTemplateEngine = new TemplateEngine(contextType); } fComparator = new CompletionProposalComparator(); } |
| |||
public [[#variable90c53ea0]]( [[#variable90c53e40]] [[#variable633426c0]]) { [[#variable63342780]]= [[#variable633426c0]]; TemplateContextType contextType = JavaPlugin.getDefault().getTemplateContextRegistry().getContextType("java"); //$NON-NLS-1$ if (contextType != null) { fTemplateEngine = new TemplateEngine(contextType); } fComparator = new CompletionProposalComparator(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#90c53ea0]] | JavaSnippetCompletionProcessor |
1 | 2 | [[#90c53ea0]] | JavaDebugContentAssistProcessor |
2 | 1 | [[#90c53e40]] | JavaSnippetEditor |
2 | 2 | [[#90c53e40]] | IJavaDebugContentAssistContext |
3 | 1 | [[#633426c0]] | editor |
3 | 2 | [[#633426c0]] | context |
4 | 1 | [[#63342780]] | fEditor |
4 | 2 | [[#63342780]] | fContext |