CloneSet5033


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12240.965class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11250
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathEntryResolver.java
2939
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathProvider.java
Clone Instance
1
Line Count
12
Source Line
50
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathEntryResolver.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$
        }


Clone Instance
2
Line Count
9
Source Line
39
Source File
plugins/org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/RuntimeClasspathProvider.java

        /**
         * 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$
        }


Clone AbstractionParameter Count: 4Parameter Bindings

/**
         * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9576ea60]]
IRuntimeClasspathEntryResolver 
12[[#9576ea60]]
IRuntimeClasspathProvider 
21[[#9576eaa0]]
getResolver 
22[[#9576eaa0]]
getProvider 
31[[#9576ea00]]
getVariableName 
32[[#9576ea00]]
getIdentifier 
41[[#9576e9c0]]
"variable" 
42[[#9576e9c0]]
"id"