Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
5 | 2 | 2 | 0.960 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 5 | 451 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java |
2 | 5 | 484 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/JavaModelOperation.java |
| ||||
/** * Returns the element to which this operation applies, * or <code>null</code> if not applicable. */ protected IJavaElement getElementToProcess() { if (elementsToProcess == null || elementsToProcess.length == 0) { return null; } return elementsToProcess[0]; } |
| ||||
/** * Returns the parent element to which this operation applies, * or <code>null</code> if not applicable. */ protected IJavaElement getParentElement() { if (parentElements == null || parentElements.length == 0) { return null; } return parentElements[0]; } |
| |||
/** * Returns the element to which this operation applies, * or <code>null</code> if not applicable. */ /** * Returns the parent element to which this operation applies, * or <code>null</code> if not applicable. */ protected IJavaElement [[#variable579ffb60]]() { if ( [[#variable579ffb00]]== null || [[#variable579ffb00]].length == 0) { return null; } return [[#variable579ffb00]][0]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#579ffb60]] | getElementToProcess |
1 | 2 | [[#579ffb60]] | getParentElement |
2 | 1 | [[#579ffb00]] | elementsToProcess |
2 | 2 | [[#579ffb00]] | parentElements |