CloneSet2113


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
17340.972class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
117163
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
217147
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ImplementOccurrencesFinder.java
317133
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java
Clone Instance
1
Line Count
17
Source Line
163
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java

        public String getJobLabel() {
                return SearchMessages.ExceptionOccurrencesFinder_searchfor;
        }

        public String getElementName() {
                if (fSelectedName != null) {
                        return ASTNodes.asString(fSelectedName);
                }
                return null;
        }

        public String getUnformattedPluralLabel() {
                return SearchMessages.ExceptionOccurrencesFinder_label_plural;
        }

        public String getUnformattedSingularLabel() {
                return SearchMessages.ExceptionOccurrencesFinder_label_singular;
        }


Clone Instance
2
Line Count
17
Source Line
147
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ImplementOccurrencesFinder.java

        /*
         * @see org.eclipse.jdt.internal.ui.search.IOccurrencesFinder#getJobLabel()
         */
        public String getJobLabel() {
                return SearchMessages.ImplementOccurrencesFinder_searchfor;
        }

        public String getElementName() {
                if (fSelectedNode != null) {
                        return ASTNodes.asString(fSelectedNode);
                }
                return null;
        }

        public String getUnformattedPluralLabel() {
                return SearchMessages.ImplementOccurrencesFinder_label_plural;
        }

        public String getUnformattedSingularLabel() {
                return SearchMessages.ImplementOccurrencesFinder_label_singular;
        }


Clone Instance
3
Line Count
17
Source Line
133
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/OccurrencesFinder.java

        /*
         * @see org.eclipse.jdt.internal.ui.search.IOccurrencesFinder#getJobLabel()
         */
        public String getJobLabel() {
                return SearchMessages.OccurrencesFinder_searchfor;
        }

        public String getElementName() {
                if (fSelectedNode != null) {
                        return ASTNodes.asString(fSelectedNode);
                }
                return null;
        }

        public String getUnformattedPluralLabel() {
                return SearchMessages.OccurrencesFinder_label_plural;
        }

        public String getUnformattedSingularLabel() {
                return SearchMessages.OccurrencesFinder_label_singular;
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/*
         * @see org.eclipse.jdt.internal.ui.search.IOccurrencesFinder#getJobLabel()
         */
public String getJobLabel() {
  return SearchMessages. [[#variable5b1eb760]];
}

public String getElementName() {
  if ( [[#variable5b1eb6a0]]!= null) {
    return ASTNodes.asString( [[#variable5b1eb6a0]]);
  }
  return null;
}

public String getUnformattedPluralLabel() {
  return SearchMessages. [[#variable5b1eb6c0]];
}

public String getUnformattedSingularLabel() {
  return SearchMessages. [[#variable5b1eb600]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b1eb760]]
ExceptionOccurrencesFinder_searchfor 
12[[#5b1eb760]]
ImplementOccurrencesFinder_searchfor 
13[[#5b1eb760]]
OccurrencesFinder_searchfor 
21[[#5b1eb6a0]]
fSelectedName 
22[[#5b1eb6a0]]
fSelectedNode 
23[[#5b1eb6a0]]
fSelectedNode 
31[[#5b1eb6c0]]
ExceptionOccurrencesFinder_label_plural 
32[[#5b1eb6c0]]
ImplementOccurrencesFinder_label_plural 
33[[#5b1eb6c0]]
OccurrencesFinder_label_plural 
41[[#5b1eb600]]
ExceptionOccurrencesFinder_label_singular 
42[[#5b1eb600]]
ImplementOccurrencesFinder_label_singular 
43[[#5b1eb600]]
OccurrencesFinder_label_singular