CloneSet2936


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
19151
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java
210124
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaExpandHover.java
Clone Instance
1
Line Count
9
Source Line
151
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java

                        Position position = model.getPosition(annotation);
                        if (position == null)
                                continue ;

                        if (compareRulerLine(position, document, line) == 1) {
                                if (isDuplicateMessage(messagesAtPosition, position, annotation.getText()))
                                        continue ;

                                exact.add(annotation);
                        }


Clone Instance
2
Line Count
10
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaExpandHover.java

                        Position position = model.getPosition(annotation);
                        if (position == null)
                                continue ;

                        if (compareRulerLine(position, document, line) == 1) {

                                if (isDuplicateMessage(messagesAtPosition, position, annotation.getText()))
                                        continue ;

                                exact.add(annotation);
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

Position position = model.getPosition(annotation);
if (position == null)
  continue ;
if (compareRulerLine(position, document, line) == 1) {
  if (isDuplicateMessage(messagesAtPosition, position, annotation.getText()))
    continue ;
  exact.add(annotation);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None