CloneSet3508


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
4420.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
14296
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
24307
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java
34572
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
44584
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java
Clone Instance
1
Line Count
4
Source Line
296
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java

        /*
         * @see SourceViewerConfiguration#getAnnotationHover(ISourceViewer)
         */
        public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
                return new HTMLAnnotationHover() {
                        protected boolean isIncluded(Annotation annotation) {
                                return isShowInVerticalRuler(annotation);
                        }
                       };
        }


Clone Instance
2
Line Count
4
Source Line
307
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileSourceViewerConfiguration.java

        /*
         * @see SourceViewerConfiguration#getOverviewRulerAnnotationHover(ISourceViewer)
         */
        public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) {
                return new HTMLAnnotationHover() {
                        protected boolean isIncluded(Annotation annotation) {
                                return isShowInOverviewRuler(annotation);
                        }
                       };
        }


Clone Instance
3
Line Count
4
Source Line
572
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

        /*
         * @see SourceViewerConfiguration#getAnnotationHover(ISourceViewer)
         */
        public IAnnotationHover getAnnotationHover(ISourceViewer sourceViewer) {
                return new HTMLAnnotationHover() {
                        protected boolean isIncluded(Annotation annotation) {
                                return isShowInVerticalRuler(annotation);
                        }
                       };
        }


Clone Instance
4
Line Count
4
Source Line
584
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/JavaSourceViewerConfiguration.java

        /*
         * @see SourceViewerConfiguration#getOverviewRulerAnnotationHover(ISourceViewer)
         * @since 3.0
         */
        public IAnnotationHover getOverviewRulerAnnotationHover(ISourceViewer sourceViewer) {
                return new HTMLAnnotationHover() {
                        protected boolean isIncluded(Annotation annotation) {
                                return isShowInOverviewRuler(annotation);
                        }
                       };
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/*
         * @see SourceViewerConfiguration#getAnnotationHover(ISourceViewer)
         */
/*
         * @see SourceViewerConfiguration#getOverviewRulerAnnotationHover(ISourceViewer)
         * @since 3.0
         */
/*
         * @see SourceViewerConfiguration#getOverviewRulerAnnotationHover(ISourceViewer)
         */
public IAnnotationHover  [[#variableb9dcd3e0]](ISourceViewer sourceViewer) {
  return new HTMLAnnotationHover() {
           protected boolean isIncluded(Annotation annotation) {
             return [[#variableb9dcd360]](annotation);
           }
         };
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b9dcd3e0]]
getAnnotationHover 
12[[#b9dcd3e0]]
getOverviewRulerAnnotationHover 
13[[#b9dcd3e0]]
getAnnotationHover 
14[[#b9dcd3e0]]
getOverviewRulerAnnotationHover 
21[[#b9dcd360]]
isShowInVerticalRuler 
22[[#b9dcd360]]
isShowInOverviewRuler 
23[[#b9dcd360]]
isShowInVerticalRuler 
24[[#b9dcd360]]
isShowInOverviewRuler