CloneSet240


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11630.953statement_sequence[9]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1112154
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
2112319
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
3112347
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
4113992
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
5114020
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
6114116
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java
Clone Instance
1
Line Count
11
Source Line
2154
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                CompletionProposal proposal = this.createProposal(CompletionProposal.METHOD_REF, this.actualCompletionPosition);
                                                proposal.setDeclarationSignature(getSignature(currentType));
                                                proposal.setSignature(getSignature(constructor));
                                                MethodBinding original = constructor.original();
                                                if (original != constructor) {
                                                        proposal.setOriginalSignature(getSignature(original));
                                                }
                                                proposal.setDeclarationPackageName(currentType.qualifiedPackageName());
                                                proposal.setDeclarationTypeName(currentType.qualifiedSourceName());
                                                proposal.setParameterPackageNames(parameterPackageNames);
                                                proposal.setParameterTypeNames(parameterTypeNames);


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

                                                        CompletionProposal proposal = this.createProposal(CompletionProposal.METHOD_REF, this.actualCompletionPosition);
                                                        proposal.setDeclarationSignature(getSignature(currentType));
                                                        proposal.setSignature(getSignature(constructor));
                                                        MethodBinding original = constructor.original();
                                                        if (original != constructor) {
                                                                proposal.setOriginalSignature(getSignature(original));
                                                        }
                                                        proposal.setDeclarationPackageName(currentType.qualifiedPackageName());
                                                        proposal.setDeclarationTypeName(currentType.qualifiedSourceName());
                                                        proposal.setParameterPackageNames(parameterPackageNames);
                                                        proposal.setParameterTypeNames(parameterTypeNames);


Clone Instance
3
Line Count
11
Source Line
2347
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                                        CompletionProposal proposal = this.createProposal(CompletionProposal.JAVADOC_METHOD_REF, this.actualCompletionPosition);
                                                        proposal.setDeclarationSignature(getSignature(currentType));
                                                        proposal.setSignature(getSignature(constructor));
                                                        MethodBinding original = constructor.original();
                                                        if (original != constructor) {
                                                                proposal.setOriginalSignature(getSignature(original));
                                                        }
                                                        proposal.setDeclarationPackageName(currentType.qualifiedPackageName());
                                                        proposal.setDeclarationTypeName(currentType.qualifiedSourceName());
                                                        proposal.setParameterPackageNames(parameterPackageNames);
                                                        proposal.setParameterTypeNames(parameterTypeNames);


Clone Instance
4
Line Count
11
Source Line
3992
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                CompletionProposal proposal = this.createProposal(CompletionProposal.METHOD_REF, this.actualCompletionPosition);
                                proposal.setDeclarationSignature(getSignature(method.declaringClass));
                                proposal.setSignature(getSignature(method));
                                MethodBinding original = method.original();
                                if (original != method) {
                                        proposal.setOriginalSignature(getSignature(original));
                                }
                                proposal.setDeclarationPackageName(method.declaringClass.qualifiedPackageName());
                                proposal.setDeclarationTypeName(method.declaringClass.qualifiedSourceName());
                                proposal.setParameterPackageNames(parameterPackageNames);
                                proposal.setParameterTypeNames(parameterTypeNames);


Clone Instance
5
Line Count
11
Source Line
4020
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                CompletionProposal proposal = this.createProposal(CompletionProposal.JAVADOC_METHOD_REF, this.actualCompletionPosition);
                                proposal.setDeclarationSignature(getSignature(method.declaringClass));
                                proposal.setSignature(getSignature(method));
                                MethodBinding original = method.original();
                                if (original != method) {
                                        proposal.setOriginalSignature(getSignature(original));
                                }
                                proposal.setDeclarationPackageName(method.declaringClass.qualifiedPackageName());
                                proposal.setDeclarationTypeName(method.declaringClass.qualifiedSourceName());
                                proposal.setParameterPackageNames(parameterPackageNames);
                                proposal.setParameterTypeNames(parameterTypeNames);


Clone Instance
6
Line Count
11
Source Line
4116
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/CompletionEngine.java

                                CompletionProposal proposal = this.createProposal(CompletionProposal.METHOD_REF, this.actualCompletionPosition);
                                proposal.setDeclarationSignature(getSignature(method.declaringClass));
                                proposal.setSignature(getSignature(method));
                                MethodBinding original = method.original();
                                if (original != method) {
                                        proposal.setOriginalSignature(getSignature(original));
                                }
                                proposal.setDeclarationPackageName(method.declaringClass.qualifiedPackageName());
                                proposal.setDeclarationTypeName(method.declaringClass.qualifiedSourceName());
                                proposal.setParameterPackageNames(parameterPackageNames);
                                proposal.setParameterTypeNames(parameterTypeNames);


Clone AbstractionParameter Count: 3Parameter Bindings

CompletionProposal proposal = this.createProposal(CompletionProposal. [[#variable968734a0]], this.actualCompletionPosition);
proposal.setDeclarationSignature(getSignature( [[#variable64e1dd80]]));
proposal.setSignature(getSignature( [[#variable64e1de40]]));
MethodBinding original = [[#variable64e1de40]].original();
if (original != [[#variable64e1de40]]) {
  proposal.setOriginalSignature(getSignature(original));
}
proposal.setDeclarationPackageName( [[#variable64e1dd80]].qualifiedPackageName());
proposal.setDeclarationTypeName( [[#variable64e1dd80]].qualifiedSourceName());
proposal.setParameterPackageNames(parameterPackageNames);
proposal.setParameterTypeNames(parameterTypeNames);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#968734a0]]
METHOD_REF 
12[[#968734a0]]
METHOD_REF 
13[[#968734a0]]
JAVADOC_METHOD_REF 
14[[#968734a0]]
JAVADOC_METHOD_REF 
15[[#968734a0]]
METHOD_REF 
16[[#968734a0]]
METHOD_REF 
21[[#64e1dd80]]
currentType 
22[[#64e1dd80]]
method.declaringClass 
23[[#64e1dd80]]
currentType 
24[[#64e1dd80]]
method.declaringClass 
25[[#64e1dd80]]
method.declaringClass 
26[[#64e1dd80]]
currentType 
31[[#64e1de40]]
constructor 
32[[#64e1de40]]
method 
33[[#64e1de40]]
constructor 
34[[#64e1de40]]
method 
35[[#64e1de40]]
method 
36[[#64e1de40]]
constructor