Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 3 | 5 | 0.955 | compilation_unit |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ConvertAnonymousRefactoringContribution.java |
2 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InlineConstantRefactoringContribution.java |
3 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/PromoteTempToFieldRefactoringContribution.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.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.ConvertAnonymousToNestedRefactoring; /** * Refactoring contribution for the convert anonymous refactoring. * * @since 3.2 */ public final class ConvertAnonymousRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ConvertAnonymousToNestedRefactoring(null, 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.InlineConstantRefactoring; /** * Refactoring contribution for the inline constant refactoring. * * @since 3.2 */ public final class InlineConstantRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new InlineConstantRefactoring(null, 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.PromoteTempToFieldRefactoring; /** * Refactoring contribution for the extract interface refactoring. * * @since 3.2 */ public final class PromoteTempToFieldRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new PromoteTempToFieldRefactoring(null, 0, 0, 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.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. [[#variable56348080]]; /** * Refactoring contribution for the convert anonymous refactoring. * * @since 3.2 */ /** * Refactoring contribution for the inline constant refactoring. * * @since 3.2 */ /** * Refactoring contribution for the extract interface refactoring. * * @since 3.2 */ public final class [[#variable9330f440]]extends JavaRefactoringContribution { [[#variable968052e0]]Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new [[#variable56348080]](null, [[#variable9330f3a0]], 0, [[#variable59829fe0]]); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#56348080]] | ConvertAnonymousToNestedRefactoring |
1 | 2 | [[#56348080]] | InlineConstantRefactoring |
1 | 3 | [[#56348080]] | PromoteTempToFieldRefactoring |
2 | 1 | [[#9330f440]] | ConvertAnonymousRefactoringContribution |
2 | 2 | [[#9330f440]] | InlineConstantRefactoringContribution |
2 | 3 | [[#9330f440]] | PromoteTempToFieldRefactoringContribution |
3 | 1 | [[#968052e0]] | /** * {@inheritDoc} */ public |
3 | 2 | [[#968052e0]] | /** * {@inheritDoc} */ public final |
3 | 3 | [[#968052e0]] | /** * {@inheritDoc} */ public final |
4 | 1 | [[#9330f3a0]] | null |
4 | 2 | [[#9330f3a0]] | null |
4 | 3 | [[#9330f3a0]] | 0 |
5 | 1 | [[#59829fe0]] | 0 |
5 | 2 | [[#59829fe0]] | 0 |
5 | 3 | [[#59829fe0]] | null |