Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 4 | 0.957 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 150 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/RefactoringElementFilterDescriptor.java |
2 | 9 | 129 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/hover/JavaEditorTextHoverDescriptor.java |
| ||||
/** * @return the filter class */ public String getFilterClass() { return fElement.getAttribute(CLASS_ATTRIBUTE); } /* * @see org.eclipse.ui.IPluginContribution#getLocalId() */ public String getLocalId() { return fElement.getAttribute(ID_ATTRIBUTE); } |
| ||||
//---- XML Attribute accessors --------------------------------------------- /** * Returns the hover's id. */ public String getId() { return fElement.getAttribute(ID_ATTRIBUTE); } /** * Returns the hover's class name. */ public String getHoverClassName() { return fElement.getAttribute(CLASS_ATTRIBUTE); } |
| |||
//---- XML Attribute accessors --------------------------------------------- /** * Returns the hover's id. */ /** * @return the filter class */ public String [[#variable5ab785c0]]() { return fElement.getAttribute( [[#variable5aa67c20]]); } /** * Returns the hover's class name. */ /* * @see org.eclipse.ui.IPluginContribution#getLocalId() */ public String [[#variable5ab79040]]() { return fElement.getAttribute( [[#variable5ab79060]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ab785c0]] | getId |
1 | 2 | [[#5ab785c0]] | getFilterClass |
2 | 1 | [[#5aa67c20]] | ID_ATTRIBUTE |
2 | 2 | [[#5aa67c20]] | CLASS_ATTRIBUTE |
3 | 1 | [[#5ab79040]] | getHoverClassName |
3 | 2 | [[#5ab79040]] | getLocalId |
4 | 1 | [[#5ab79060]] | CLASS_ATTRIBUTE |
4 | 2 | [[#5ab79060]] | ID_ATTRIBUTE |