CloneSet5883


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5240.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1555
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.java
2583
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java
Clone Instance
1
Line Count
5
Source Line
55
Source File
plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/JDIContentAssistPreference.java

        private static JavaSnippetCompletionProcessor getJavaSnippetProcessor(ContentAssistant assistant) {
                IContentAssistProcessor p = assistant.getContentAssistProcessor(IDocument.DEFAULT_CONTENT_TYPE);
                if (p instanceof JavaSnippetCompletionProcessor)
                        return  (JavaSnippetCompletionProcessor) p;
                return null;
        }


Clone Instance
2
Line Count
5
Source Line
83
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/ContentAssistPreference.java

        private static JavadocCompletionProcessor getJavaDocProcessor(ContentAssistant assistant) {
                IContentAssistProcessor p = assistant.getContentAssistProcessor(IJavaPartitions.JAVA_DOC);
                if (p instanceof JavadocCompletionProcessor)
                        return (JavadocCompletionProcessor) p;
                return null;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

private static [[#variable64cf3fe0]]  [[#variable64cf3f40]](ContentAssistant assistant) {
  IContentAssistProcessor p = assistant.getContentAssistProcessor( [[#variable64cf3e80]]. [[#variable64cf3da0]]);
  if (p instanceof [[#variable64cf3fe0]])
    return ( [[#variable64cf3fe0]]) p;
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#64cf3fe0]]
JavaSnippetCompletionProcessor 
12[[#64cf3fe0]]
JavadocCompletionProcessor 
21[[#64cf3f40]]
getJavaSnippetProcessor 
22[[#64cf3f40]]
getJavaDocProcessor 
31[[#64cf3e80]]
IDocument 
32[[#64cf3e80]]
IJavaPartitions 
41[[#64cf3da0]]
DEFAULT_CONTENT_TYPE 
42[[#64cf3da0]]
JAVA_DOC