CloneSet4229


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5210.994executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14246
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java
25250
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java
Clone Instance
1
Line Count
4
Source Line
246
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java

                                                                             {
                                        int widgetLine = ((ITextViewerExtension5) viewer).modelLine2WidgetLine(line);
                                        Point loc = st.getLocationAtOffset(st.getOffsetAtLine(widgetLine));
                                        fCompositeRuler.setLocationOfLastMouseButtonActivity(0, loc.y);
                                                                             }


Clone Instance
2
Line Count
5
Source Line
250
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/AnnotationExpandHover.java

                                                                         {
                                        // TODO remove once TextViewer implements the extension
                                        int widgetLine = ((TextViewer) viewer).modelLine2WidgetLine(line);
                                        Point loc = st.getLocationAtOffset(st.getOffsetAtLine(widgetLine));
                                        fCompositeRuler.setLocationOfLastMouseButtonActivity(0, loc.y);
                                                                         }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  // TODO remove once TextViewer implements the extension
  int widgetLine = (( [[#variable97f9c580]]) viewer).modelLine2WidgetLine(line);
  Point loc = st.getLocationAtOffset(st.getOffsetAtLine(widgetLine));
  fCompositeRuler.setLocationOfLastMouseButtonActivity(0, loc.y);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97f9c580]]
TextViewer 
12[[#97f9c580]]
ITextViewerExtension5