| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 24 | 9 | 2 | 0.983 | compilation_unit |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameEnumConstRefactoringContribution.java |
| 2 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameFieldRefactoringContribution.java |
| 3 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameJavaProjectRefactoringContribution.java |
| 4 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameLocalVariableRefactoringContribution.java |
| 5 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenamePackageRefactoringContribution.java |
| 6 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameResourceRefactoringContribution.java |
| 7 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameSourceFolderRefactoringContribution.java |
| 8 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameTypeParameterRefactoringContribution.java |
| 9 | 24 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/RenameTypeRefactoringContribution.java |
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameEnumConstProcessor;
/**
* Refactoring contribution for the rename enum constant refactoring.
*
* @since 3.2
*/
public final class RenameEnumConstRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameEnumConstProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameFieldProcessor;
/**
* Refactoring contribution for the rename field refactoring.
*
* @since 3.2
*/
public final class RenameFieldRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameFieldProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameJavaProjectProcessor;
/**
* Refactoring contribution for the rename java project refactoring.
*
* @since 3.2
*/
public final class RenameJavaProjectRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameJavaProjectProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameLocalVariableProcessor;
/**
* Refactoring contribution for the rename local variable refactoring.
*
* @since 3.2
*/
public final class RenameLocalVariableRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameLocalVariableProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenamePackageProcessor;
/**
* Refactoring contribution for the rename package refactoring.
*
* @since 3.2
*/
public final class RenamePackageRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenamePackageProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameResourceProcessor;
/**
* Refactoring contribution for the rename resource refactoring.
*
* @since 3.2
*/
public final class RenameResourceRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameResourceProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameSourceFolderProcessor;
/**
* Refactoring contribution for the rename source folder refactoring.
*
* @since 3.2
*/
public final class RenameSourceFolderRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameSourceFolderProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeParameterProcessor;
/**
* Refactoring contribution for the rename type parameter refactoring.
*
* @since 3.2
*/
public final class RenameTypeParameterRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameTypeParameterProcessor(null));
}
}
|
| ||||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename.RenameTypeProcessor;
/**
* Refactoring contribution for the rename type refactoring.
*
* @since 3.2
*/
public final class RenameTypeRefactoringContribution extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new RenameTypeProcessor(null));
}
}
|
| |||
/*******************************************************************************
* Copyright (c) 2005, 2006 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
package org.eclipse.jdt.internal.corext.refactoring.scripting;
import org.eclipse.ltk.core.refactoring.Refactoring;
import org.eclipse.ltk.core.refactoring.RefactoringDescriptor;
import org.eclipse.jdt.internal.corext.refactoring.JavaRefactoringContribution;
import org.eclipse.jdt.internal.corext.refactoring.rename.JavaRenameRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.rename. [[#variable9628d220]];
/**
* Refactoring contribution for the rename enum constant refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename field refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename java project refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename local variable refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename package refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename resource refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename source folder refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename type parameter refactoring.
*
* @since 3.2
*/
/**
* Refactoring contribution for the rename type refactoring.
*
* @since 3.2
*/
public final class [[#variable9628d1c0]]extends JavaRefactoringContribution {
/**
* {@inheritDoc}
*/
public Refactoring createRefactoring( final RefactoringDescriptor descriptor) {
return new JavaRenameRefactoring(new [[#variable9628d220]](null));
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9628d220]] | RenameEnumConstProcessor |
| 1 | 2 | [[#9628d220]] | RenameFieldProcessor |
| 1 | 3 | [[#9628d220]] | RenameJavaProjectProcessor |
| 1 | 4 | [[#9628d220]] | RenameLocalVariableProcessor |
| 1 | 5 | [[#9628d220]] | RenamePackageProcessor |
| 1 | 6 | [[#9628d220]] | RenameResourceProcessor |
| 1 | 7 | [[#9628d220]] | RenameSourceFolderProcessor |
| 1 | 8 | [[#9628d220]] | RenameTypeParameterProcessor |
| 1 | 9 | [[#9628d220]] | RenameTypeProcessor |
| 2 | 1 | [[#9628d1c0]] | RenameEnumConstRefactoringContribution |
| 2 | 2 | [[#9628d1c0]] | RenameFieldRefactoringContribution |
| 2 | 3 | [[#9628d1c0]] | RenameJavaProjectRefactoringContribution |
| 2 | 4 | [[#9628d1c0]] | RenameLocalVariableRefactoringContribution |
| 2 | 5 | [[#9628d1c0]] | RenamePackageRefactoringContribution |
| 2 | 6 | [[#9628d1c0]] | RenameResourceRefactoringContribution |
| 2 | 7 | [[#9628d1c0]] | RenameSourceFolderRefactoringContribution |
| 2 | 8 | [[#9628d1c0]] | RenameTypeParameterRefactoringContribution |
| 2 | 9 | [[#9628d1c0]] | RenameTypeRefactoringContribution |