CloneSet5792


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4220.984statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14549
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java
24558
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java
Clone Instance
1
Line Count
4
Source Line
549
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java

                        for (; i < n; i++) {
                                HighlightedPosition position = (HighlightedPosition) fPositions.get(i);
                                if ( !position.isDeleted())
                                        ranges.add(position.createStyleRange());
                        }


Clone Instance
2
Line Count
4
Source Line
558
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/javaeditor/SemanticHighlightingPresenter.java

                        for (; i < n; i++) {
                                HighlightedPosition position = (HighlightedPosition) fPositions.get(i);
                                if ( !position.isDeleted())
                                        textPresentation.replaceStyleRange(position.createStyleRange());
                        }


Clone AbstractionParameter Count: 2Parameter Bindings

for (; i < n; i++) {
  HighlightedPosition position = (HighlightedPosition) fPositions.get(i);
  if ( !position.isDeleted())
     [[#variable8f0e7260]]. [[#variable8f0e70a0]](position.createStyleRange());
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8f0e7260]]
ranges 
12[[#8f0e7260]]
textPresentation 
21[[#8f0e70a0]]
add 
22[[#8f0e70a0]]
replaceStyleRange