Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 4 | 0.951 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 55 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.java |
2 | 5 | 83 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java |
| ||||
private static JavaSnippetCompletionProcessor getJavaSnippetProcessor(ContentAssistant assistant) { IContentAssistProcessor p = assistant.getContentAssistProcessor(IDocument.DEFAULT_CONTENT_TYPE); if (p instanceof JavaSnippetCompletionProcessor) return (JavaSnippetCompletionProcessor) p; return null; } |
| ||||
private static JavadocCompletionProcessor getJavaDocProcessor(ContentAssistant assistant) { IContentAssistProcessor p = assistant.getContentAssistProcessor(IJavaPartitions.JAVA_DOC); if (p instanceof JavadocCompletionProcessor) return (JavadocCompletionProcessor) p; return null; } |
| |||
private static [[#variable64cf3fe0]] [[#variable64cf3f40]](ContentAssistant assistant) { IContentAssistProcessor p = assistant.getContentAssistProcessor( [[#variable64cf3e80]]. [[#variable64cf3da0]]); if (p instanceof [[#variable64cf3fe0]]) return ( [[#variable64cf3fe0]]) p; return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#64cf3fe0]] | JavaSnippetCompletionProcessor |
1 | 2 | [[#64cf3fe0]] | JavadocCompletionProcessor |
2 | 1 | [[#64cf3f40]] | getJavaSnippetProcessor |
2 | 2 | [[#64cf3f40]] | getJavaDocProcessor |
3 | 1 | [[#64cf3e80]] | IDocument |
3 | 2 | [[#64cf3e80]] | IJavaPartitions |
4 | 1 | [[#64cf3da0]] | DEFAULT_CONTENT_TYPE |
4 | 2 | [[#64cf3da0]] | JAVA_DOC |