Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
24 | 7 | 4 | 0.962 | 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/ChangeTypeRefactoringContribution.java |
2 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractConstantRefactoringContribution.java |
3 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractMethodRefactoringContribution.java |
4 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractTempRefactoringContribution.java |
5 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineTempRefactoringContribution.java |
6 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceFactoryRefactoringContribution.java |
7 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceParameterRefactoringContribution.java |
| ||||
/******************************************************************************* * Copyright (c) 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.core.runtime.CoreException; 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.structure.ChangeTypeRefactoring; /** * Refactoring contribution for the extract interface refactoring. * * @since 3.2 */ public final class ChangeTypeRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ChangeTypeRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.ExtractConstantRefactoring; /** * Refactoring contribution for the extract constant refactoring. * * @since 3.2 */ public final class ExtractConstantRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ExtractConstantRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.ExtractMethodRefactoring; /** * Refactoring contribution for the extract method refactoring. * * @since 3.2 */ public final class ExtractMethodRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ExtractMethodRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.ExtractTempRefactoring; /** * Refactoring contribution for the extract temp refactoring. * * @since 3.2 */ public final class ExtractTempRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ExtractTempRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.InlineTempRefactoring; /** * Refactoring contribution for the inline temp refactoring. * * @since 3.2 */ public final class InlineTempRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new InlineTempRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.IntroduceFactoryRefactoring; /** * Refactoring contribution for the introduce factory refactoring. * * @since 3.2 */ public final class IntroduceFactoryRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new IntroduceFactoryRefactoring(null, 0, 0); } } |
| ||||
/******************************************************************************* * 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.core.runtime.CoreException; 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.code.IntroduceParameterRefactoring; /** * Refactoring contribution for the introduce parameter refactoring. * * @since 3.2 */ public final class IntroduceParameterRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new IntroduceParameterRefactoring(null, 0, 0); } } |
| |||
/******************************************************************************* * Copyright (c) 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 *******************************************************************************/ /******************************************************************************* * 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.core.runtime.CoreException; 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. [[#variable94aac560]]. [[#variable94aac540]]; /** * Refactoring contribution for the extract interface refactoring. * * @since 3.2 */ /** * Refactoring contribution for the extract constant refactoring. * * @since 3.2 */ /** * Refactoring contribution for the extract method refactoring. * * @since 3.2 */ /** * Refactoring contribution for the extract temp refactoring. * * @since 3.2 */ /** * Refactoring contribution for the inline temp refactoring. * * @since 3.2 */ /** * Refactoring contribution for the introduce factory refactoring. * * @since 3.2 */ /** * Refactoring contribution for the introduce parameter refactoring. * * @since 3.2 */ public final class [[#variableb8a40900]]extends JavaRefactoringContribution { [[#variableb3bbe080]]Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new [[#variable94aac540]](null, 0, 0); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#94aac560]] | structure |
1 | 2 | [[#94aac560]] | code |
1 | 3 | [[#94aac560]] | code |
1 | 4 | [[#94aac560]] | code |
1 | 5 | [[#94aac560]] | code |
1 | 6 | [[#94aac560]] | code |
1 | 7 | [[#94aac560]] | code |
2 | 1 | [[#94aac540]] | ChangeTypeRefactoring |
2 | 2 | [[#94aac540]] | ExtractConstantRefactoring |
2 | 3 | [[#94aac540]] | ExtractMethodRefactoring |
2 | 4 | [[#94aac540]] | ExtractTempRefactoring |
2 | 5 | [[#94aac540]] | InlineTempRefactoring |
2 | 6 | [[#94aac540]] | IntroduceFactoryRefactoring |
2 | 7 | [[#94aac540]] | IntroduceParameterRefactoring |
3 | 1 | [[#b8a40900]] | ChangeTypeRefactoringContribution |
3 | 2 | [[#b8a40900]] | ExtractConstantRefactoringContribution |
3 | 3 | [[#b8a40900]] | ExtractMethodRefactoringContribution |
3 | 4 | [[#b8a40900]] | ExtractTempRefactoringContribution |
3 | 5 | [[#b8a40900]] | InlineTempRefactoringContribution |
3 | 6 | [[#b8a40900]] | IntroduceFactoryRefactoringContribution |
3 | 7 | [[#b8a40900]] | IntroduceParameterRefactoringContribution |
4 | 1 | [[#b3bbe080]] | /** * {@inheritDoc} */ public |
4 | 2 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |
4 | 3 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |
4 | 4 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |
4 | 5 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |
4 | 6 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |
4 | 7 | [[#b3bbe080]] | /** * {@inheritDoc} */ public final |