| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 1 | 11 | 5 | 0.952 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 504 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/ClassFileReader.java |
| 2 | 6 | 163 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/flow/FlowContext.java |
| 3 | 1 | 1260 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/ASTConverter.java |
| 4 | 1 | 217 | plugins/org.eclipse.jdt.core/dom/org/eclipse/jdt/core/dom/TypeBinding.java |
| 5 | 1 | 328 | plugins/org.eclipse.jdt.core/formatter/org/eclipse/jdt/core/formatter/CodeFormatterApplication.java |
| 6 | 1 | 590 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/parser/SourceTypeConverter.java |
| 7 | 6 | 181 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaProjectElementInfo.java |
| 8 | 1 | 179 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/MultiOperation.java |
| 9 | 1 | 98 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/PackageFragmentRootInfo.java |
| 10 | 1 | 49 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/TypeVector.java |
| 11 | 1 | 44 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/util/CodeSnippetParsingUtil.java |
| ||||
// we need to resize the memberTypes array. Some local or anonymous classes
// are present in the current class.
System.arraycopy(
memberTypes,
0,
(memberTypes = new IBinaryNestedType[memberTypeIndex]),
0,
memberTypeIndex);
|
| ||||
// duplicate the array of raised exceptions since it will be updated
// (null replaces any handled exception)
System.arraycopy(
raisedExceptions,
0,
(raisedExceptions = new TypeBinding[raisedCount]),
0,
raisedCount);
|
| ||||
System.arraycopy(problems, 0, (resizedProblems = new CategorizedProblem[realProblemLength]), 0, realProblemLength); |
| ||||
System.arraycopy(newMethods, 0, (newMethods = new IMethodBinding[removeSyntheticsCounter]), 0, removeSyntheticsCounter); |
| ||||
System.arraycopy(filesToFormat, 0, (filesToFormat = new File[fileCounter]), 0, fileCounter); |
| ||||
// resize to remove null annotations
System.arraycopy(annotations, 0, (annotations = new Annotation[recordedAnnotations]), 0, recordedAnnotations);
|
| ||||
System.arraycopy(
resources,
0,
(resources = new IResource[resourcesCounter]),
0,
resourcesCounter);
|
| ||||
// resize
System.arraycopy(errors, 0, (errors = new IJavaModelStatus[errorsCounter]), 0, errorsCounter);
|
| ||||
System.arraycopy(nonJavaResources, 0, (nonJavaResources = new IResource[nonJavaResourcesCounter]), 0, nonJavaResourcesCounter); |
| ||||
System.arraycopy(elements, 0, (elements = new IType[maxSize]), 0, size); |
| ||||
System.arraycopy(compilationResultProblems, 0, (problems = new CategorizedProblem[problemsCount]), 0, problemsCount); |
| |||
// resize // resize to remove null annotations // duplicate the array of raised exceptions since it will be updated // (null replaces any handled exception) // we need to resize the memberTypes array. Some local or anonymous classes // are present in the current class. System.arraycopy( [[#variable73028620]], 0, ( [[#variable730285a0]]= new [[#variable73028520]][ [[#variable73028480]]]), 0, [[#variable73028360]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#73028620]] | compilationResultProblems |
| 1 | 2 | [[#73028620]] | elements |
| 1 | 3 | [[#73028620]] | nonJavaResources |
| 1 | 4 | [[#73028620]] | errors |
| 1 | 5 | [[#73028620]] | resources |
| 1 | 6 | [[#73028620]] | annotations |
| 1 | 7 | [[#73028620]] | filesToFormat |
| 1 | 8 | [[#73028620]] | newMethods |
| 1 | 9 | [[#73028620]] | problems |
| 1 | 10 | [[#73028620]] | raisedExceptions |
| 1 | 11 | [[#73028620]] | memberTypes |
| 2 | 1 | [[#730285a0]] | problems |
| 2 | 2 | [[#730285a0]] | elements |
| 2 | 3 | [[#730285a0]] | nonJavaResources |
| 2 | 4 | [[#730285a0]] | errors |
| 2 | 5 | [[#730285a0]] | resources |
| 2 | 6 | [[#730285a0]] | annotations |
| 2 | 7 | [[#730285a0]] | filesToFormat |
| 2 | 8 | [[#730285a0]] | newMethods |
| 2 | 9 | [[#730285a0]] | resizedProblems |
| 2 | 10 | [[#730285a0]] | raisedExceptions |
| 2 | 11 | [[#730285a0]] | memberTypes |
| 3 | 1 | [[#73028520]] | CategorizedProblem |
| 3 | 2 | [[#73028520]] | IType |
| 3 | 3 | [[#73028520]] | IResource |
| 3 | 4 | [[#73028520]] | IJavaModelStatus |
| 3 | 5 | [[#73028520]] | IResource |
| 3 | 6 | [[#73028520]] | Annotation |
| 3 | 7 | [[#73028520]] | File |
| 3 | 8 | [[#73028520]] | IMethodBinding |
| 3 | 9 | [[#73028520]] | CategorizedProblem |
| 3 | 10 | [[#73028520]] | TypeBinding |
| 3 | 11 | [[#73028520]] | IBinaryNestedType |
| 4 | 1 | [[#73028480]] | problemsCount |
| 4 | 2 | [[#73028480]] | maxSize |
| 4 | 3 | [[#73028480]] | nonJavaResourcesCounter |
| 4 | 4 | [[#73028480]] | errorsCounter |
| 4 | 5 | [[#73028480]] | resourcesCounter |
| 4 | 6 | [[#73028480]] | recordedAnnotations |
| 4 | 7 | [[#73028480]] | fileCounter |
| 4 | 8 | [[#73028480]] | removeSyntheticsCounter |
| 4 | 9 | [[#73028480]] | realProblemLength |
| 4 | 10 | [[#73028480]] | raisedCount |
| 4 | 11 | [[#73028480]] | memberTypeIndex |
| 5 | 1 | [[#73028360]] | problemsCount |
| 5 | 2 | [[#73028360]] | size |
| 5 | 3 | [[#73028360]] | nonJavaResourcesCounter |
| 5 | 4 | [[#73028360]] | errorsCounter |
| 5 | 5 | [[#73028360]] | resourcesCounter |
| 5 | 6 | [[#73028360]] | recordedAnnotations |
| 5 | 7 | [[#73028360]] | fileCounter |
| 5 | 8 | [[#73028360]] | removeSyntheticsCounter |
| 5 | 9 | [[#73028360]] | realProblemLength |
| 5 | 10 | [[#73028360]] | raisedCount |
| 5 | 11 | [[#73028360]] | memberTypeIndex |