Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 4 | 0.965 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 50 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathEntryResolver.java |
2 | 9 | 39 | plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathProvider.java |
| ||||
/** * Returns the resolver delegate (and creates if required) */ protected IRuntimeClasspathEntryResolver getResolver() throws CoreException { if (fDelegate == null) { fDelegate = (IRuntimeClasspathEntryResolver) fConfigurationElement.createExecutableExtension("class"); //$NON-NLS-1$ } return fDelegate; } /** * Returns the variable name this resolver is registered for, or <code>null</code> */ public String getVariableName() { return fConfigurationElement.getAttribute("variable"); //$NON-NLS-1$ } |
| ||||
/** * Returns the resolver delegate (and creates if required) */ protected IRuntimeClasspathProvider getProvider() throws CoreException { if (fDelegate == null) { fDelegate = (IRuntimeClasspathProvider) fConfigurationElement.createExecutableExtension("class"); //$NON-NLS-1$ } return fDelegate; } public String getIdentifier() { return fConfigurationElement.getAttribute("id"); //$NON-NLS-1$ } |
| |||
/** * Returns the resolver delegate (and creates if required) */ protected [[#variable9576ea60]] [[#variable9576eaa0]]() throws CoreException { if (fDelegate == null) { fDelegate = ( [[#variable9576ea60]]) fConfigurationElement.createExecutableExtension("class"); //$NON-NLS-1$ } return fDelegate; } /** * Returns the variable name this resolver is registered for, or <code>null</code> */ public String [[#variable9576ea00]]() { return fConfigurationElement.getAttribute( [[#variable9576e9c0]]); //$NON-NLS-1$ } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9576ea60]] | IRuntimeClasspathEntryResolver |
1 | 2 | [[#9576ea60]] | IRuntimeClasspathProvider |
2 | 1 | [[#9576eaa0]] | getResolver |
2 | 2 | [[#9576eaa0]] | getProvider |
3 | 1 | [[#9576ea00]] | getVariableName |
3 | 2 | [[#9576ea00]] | getIdentifier |
4 | 1 | [[#9576e9c0]] | "variable" |
4 | 2 | [[#9576e9c0]] | "id" |