Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.992 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 69 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java |
2 | 12 | 83 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/callhierarchy/CallHierarchy.java |
| ||||
public Collection getImplementingMethods(IMethod method) { if (isSearchUsingImplementorsEnabled()) { IJavaElement[] result = Implementors.getInstance().searchForImplementors(new IJavaElement[] { method }, new NullProgressMonitor()); if ((result != null) && (result.length > 0)) { return Arrays.asList(result); } } return new ArrayList(0); } |
| ||||
public Collection getInterfaceMethods(IMethod method) { if (isSearchUsingImplementorsEnabled()) { IJavaElement[] result = Implementors.getInstance().searchForInterfaces(new IJavaElement[] { method }, new NullProgressMonitor()); if ((result != null) && (result.length > 0)) { return Arrays.asList(result); } } return new ArrayList(0); } |
| |||
public Collection [[#variable55543fa0]](IMethod method) { if (isSearchUsingImplementorsEnabled()) { IJavaElement[] result = Implementors.getInstance(). [[#variable55543f20]](new IJavaElement[] { method }, new NullProgressMonitor()); if ((result != null) && (result.length > 0)) { return Arrays.asList(result); } } return new ArrayList(0); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#55543fa0]] | getImplementingMethods |
1 | 2 | [[#55543fa0]] | getInterfaceMethods |
2 | 1 | [[#55543f20]] | searchForImplementors |
2 | 2 | [[#55543f20]] | searchForInterfaces |