CloneSet1452


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1263674
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
2264701
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
26
Source Line
3674
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                MethodBinding[] methods = currentType.availableMethods();
                                if (methods != null) {
                                        if (isCompletingDeclaration) {
                                                findLocalMethodDeclarations(
                                                        selector, 
                                                        methods, 
                                                        scope, 
                                                        methodsFound, 
                                                        exactMatch, 
                                                        receiverType       );
                                        }
                                        else   {
                                                findLocalMethods(
                                                        selector, 
                                                        typeArgTypes, 
                                                        argTypes, 
                                                        methods, 
                                                        scope, 
                                                        methodsFound, 
                                                        onlyStaticMethods, 
                                                        exactMatch, 
                                                        receiverType, 
                                                        invocationSite, 
                                                        invocationScope, 
                                                        implicitCall, 
                                                        superCall, 
                                                        canBePrefixed);
                                        }
                                }


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

                        MethodBinding[] methods = currentType.availableMethods();
                        if (methods != null) {
                                if (isCompletingDeclaration) {
                                        findLocalMethodDeclarations(
                                                selector, 
                                                methods, 
                                                scope, 
                                                methodsFound, 
                                                exactMatch, 
                                                receiverType       );
                                }
                                else  {
                                        findLocalMethods(
                                                selector, 
                                                typeArgTypes, 
                                                argTypes, 
                                                methods, 
                                                scope, 
                                                methodsFound, 
                                                onlyStaticMethods, 
                                                exactMatch, 
                                                receiverType, 
                                                invocationSite, 
                                                invocationScope, 
                                                implicitCall, 
                                                superCall, 
                                                canBePrefixed);
                                }
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

MethodBinding[] methods = currentType.availableMethods();
if (methods != null) {
  if (isCompletingDeclaration) {
    findLocalMethodDeclarations(selector, methods, scope, methodsFound, exactMatch, receiverType);
  }
  else {
    findLocalMethods(selector, typeArgTypes, argTypes, methods, scope, methodsFound, onlyStaticMethods, exactMatch, receiverType, invocationSite, invocationScope, implicitCall, superCall, canBePrefixed);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None