CloneSet4172


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7210.976statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
175085
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
275394
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
7
Source Line
5085
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                if (PROPOSE_MEMBER_TYPES) {
                                        if (this.assistNodeIsClass) {
                                                if ( !sourceType.isClass())
                                                                          continue ;
                                        }
                                        else   if (this.assistNodeIsInterface) {
                                                if ( !sourceType.isInterface() && !sourceType.isAnnotationType())
                                                                                                                continue ;
                                               }
                                               else
                                               if (this.assistNodeIsAnnotation) {
                                                if ( !sourceType.isAnnotationType())
                                                                                   continue ;
                                               }
                                }


Clone Instance
2
Line Count
7
Source Line
5394
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        if (PROPOSE_MEMBER_TYPES) {
                                                                if (this.assistNodeIsClass) {
                                                                        if ( !typeBinding.isClass())
                                                                                                   continue ;
                                                                }
                                                                else   if (this.assistNodeIsInterface) {
                                                                        if ( !typeBinding.isInterface() && !typeBinding.isAnnotationType())
                                                                                                                                          continue ;
                                                                       }
                                                                       else
                                                                       if (this.assistNodeIsAnnotation) {
                                                                        if ( !typeBinding.isAnnotationType())
                                                                                                            continue ;
                                                                       }
                                                        }


Clone AbstractionParameter Count: 1Parameter Bindings

if (PROPOSE_MEMBER_TYPES) {
  if (this.assistNodeIsClass) {
    if ( ! [[#variablea3404300]].isClass())
      continue ;
  }
  else
    if (this.assistNodeIsInterface) {
      if ( ! [[#variablea3404300]].isInterface() && ! [[#variablea3404300]].isAnnotationType())
        continue ;
    }
    else
      if (this.assistNodeIsAnnotation) {
        if ( ! [[#variablea3404300]].isAnnotationType())
          continue ;
      }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3404300]]
sourceType 
12[[#a3404300]]
typeBinding