CloneSet4589


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6230.961class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1655
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PositionGroup.java
2582
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java
Clone Instance
1
Line Count
6
Source Line
55
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/fix/PositionGroup.java

        public ITrackedNodePosition[] getPositions() {
                return (ITrackedNodePosition[]) fPositions.toArray(new ITrackedNodePosition[fPositions.size()]);
        }

        public String[] getDisplayStrings() {
                return (String[]) fDisplayStrings.toArray(new String[fDisplayStrings.size()]);
        }


Clone Instance
2
Line Count
5
Source Line
82
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedCorrectionProposal.java

                public ITrackedNodePosition[] getPositions() {
                        return (ITrackedNodePosition[]) fPositions.toArray(new ITrackedNodePosition[fPositions.size()]);
                }

                public IJavaCompletionProposal[] getProposals() {
                        return (IJavaCompletionProposal[]) fProposals.toArray(new IJavaCompletionProposal[fProposals.size()]);
                }


Clone AbstractionParameter Count: 3Parameter Bindings

public ITrackedNodePosition[] getPositions() {
  return (ITrackedNodePosition[]) fPositions.toArray(new ITrackedNodePosition[fPositions.size()]);
}

public [[#variablea1530c40]][]  [[#variable96520380]]() {
  return ( [[#variablea1530c40]][])  [[#variableb1e6d080]].toArray(new [[#variablea1530c40]][ [[#variableb1e6d080]].size()]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a1530c40]]
String 
12[[#a1530c40]]
IJavaCompletionProposal 
21[[#96520380]]
getDisplayStrings 
22[[#96520380]]
getProposals 
31[[#b1e6d080]]
fDisplayStrings 
32[[#b1e6d080]]
fProposals