CloneSet1435


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12350.957class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11298
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java
212115
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java
312132
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java
Clone Instance
1
Line Count
12
Source Line
98
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addExternalJar(java.io.File)
         */
        public void addExternalJar(File jar) {
                FactoryContainer fc = FactoryPathUtil.newExtJarFactoryContainer(jar);
                Attributes a = new Attributes(true, false);
                internalAdd(fc, a);
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeExternalJar(java.io.File)
         */
        public void removeExternalJar(File jar) {
                FactoryContainer fc = FactoryPathUtil.newExtJarFactoryContainer(jar);
                _path.remove(fc);
        }


Clone Instance
2
Line Count
12
Source Line
115
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addVarJar(org.eclipse.core.runtime.IPath)
         */
        public void addVarJar(IPath jarPath) {
                FactoryContainer fc = FactoryPathUtil.newVarJarFactoryContainer(jarPath);
                Attributes a = new Attributes(true, false);
                internalAdd(fc, a);
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeVarJar(org.eclipse.core.runtime.IPath)
         */
        public void removeVarJar(IPath jarPath) {
                FactoryContainer fc = FactoryPathUtil.newVarJarFactoryContainer(jarPath);
                _path.remove(fc);
        }


Clone Instance
3
Line Count
12
Source Line
132
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/util/FactoryPath.java

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addWkspJar(org.eclipse.core.runtime.IPath)
         */
        public void addWkspJar(IPath jarPath) {
                FactoryContainer fc = FactoryPathUtil.newWkspJarFactoryContainer(jarPath);
                Attributes a = new Attributes(true, false);
                internalAdd(fc, a);
        }

        /* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeWkspJar(org.eclipse.core.runtime.IPath)
         */
        public void removeWkspJar(IPath jarPath) {
                FactoryContainer fc = FactoryPathUtil.newWkspJarFactoryContainer(jarPath);
                _path.remove(fc);
        }


Clone AbstractionParameter Count: 5Parameter Bindings

/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addWkspJar(org.eclipse.core.runtime.IPath)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addVarJar(org.eclipse.core.runtime.IPath)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#addExternalJar(java.io.File)
         */
public void [[#variable5b921380]]( [[#variable5b9212c0]]  [[#variable5b921240]]) {
  FactoryContainer fc = FactoryPathUtil. [[#variable5b921280]]( [[#variable5b921240]]);
  Attributes a = new Attributes(true, false);
  internalAdd(fc, a);
}

/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeWkspJar(org.eclipse.core.runtime.IPath)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeVarJar(org.eclipse.core.runtime.IPath)
         */
/* (non-Javadoc)
         * @see org.eclipse.jdt.apt.core.util.IFactoryPath#removeExternalJar(java.io.File)
         */
public void [[#variable5f2d3560]]( [[#variable5b9212c0]]  [[#variable5b921240]]) {
  FactoryContainer fc = FactoryPathUtil. [[#variable5b921280]]( [[#variable5b921240]]);
  _path.remove(fc);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b921380]]
addWkspJar 
12[[#5b921380]]
addVarJar 
13[[#5b921380]]
addExternalJar 
21[[#5b9212c0]]
IPath 
22[[#5b9212c0]]
IPath 
23[[#5b9212c0]]
File 
31[[#5b921240]]
jarPath 
32[[#5b921240]]
jarPath 
33[[#5b921240]]
jar 
41[[#5b921280]]
newWkspJarFactoryContainer 
42[[#5b921280]]
newVarJarFactoryContainer 
43[[#5b921280]]
newExtJarFactoryContainer 
51[[#5f2d3560]]
removeWkspJar 
52[[#5f2d3560]]
removeVarJar 
53[[#5f2d3560]]
removeExternalJar