Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 4 | 4 | 0.956 | 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/ChangeMethodSignatureRefactoringContribution.java |
2 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InferTypeArgumentsRefactoringContribution.java |
3 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceIndirectionRefactoringContribution.java |
4 | 25 | 11 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/SelfEncapsulateRefactoringContribution.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.structure.ChangeSignatureRefactoring; /** * Refactoring contribution for the change method signature refactoring. * * @since 3.2 */ public final class ChangeMethodSignatureRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new ChangeSignatureRefactoring(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.generics.InferTypeArgumentsRefactoring; /** * Refactoring contribution for the infer typearguments refactoring. * * @since 3.2 */ public final class InferTypeArgumentsRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new InferTypeArgumentsRefactoring(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.IntroduceIndirectionRefactoring; /** * Refactoring contribution for the introduce indirection refactoring. * * @since 3.2 */ public final class IntroduceIndirectionRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new IntroduceIndirectionRefactoring(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.sef.SelfEncapsulateFieldRefactoring; /** * Refactoring contribution for the self encapsulate field refactoring. * * @since 3.2 */ public final class SelfEncapsulateRefactoringContribution extends JavaRefactoringContribution { /** * {@inheritDoc} */ public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new SelfEncapsulateFieldRefactoring(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. [[#variable563c1ba0]]. [[#variable563c1b00]]; /** * Refactoring contribution for the change method signature refactoring. * * @since 3.2 */ /** * Refactoring contribution for the infer typearguments refactoring. * * @since 3.2 */ /** * Refactoring contribution for the introduce indirection refactoring. * * @since 3.2 */ /** * Refactoring contribution for the self encapsulate field refactoring. * * @since 3.2 */ public final class [[#variable563c1a60]]extends JavaRefactoringContribution { [[#variable563c1a00]]Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException { return new [[#variable563c1b00]](null); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#563c1ba0]] | structure |
1 | 2 | [[#563c1ba0]] | generics |
1 | 3 | [[#563c1ba0]] | code |
1 | 4 | [[#563c1ba0]] | sef |
2 | 1 | [[#563c1b00]] | ChangeSignatureRefactoring |
2 | 2 | [[#563c1b00]] | InferTypeArgumentsRefactoring |
2 | 3 | [[#563c1b00]] | IntroduceIndirectionRefactoring |
2 | 4 | [[#563c1b00]] | SelfEncapsulateFieldRefactoring |
3 | 1 | [[#563c1a60]] | ChangeMethodSignatureRefactoringContribution |
3 | 2 | [[#563c1a60]] | InferTypeArgumentsRefactoringContribution |
3 | 3 | [[#563c1a60]] | IntroduceIndirectionRefactoringContribution |
3 | 4 | [[#563c1a60]] | SelfEncapsulateRefactoringContribution |
4 | 1 | [[#563c1a00]] | /** * {@inheritDoc} */ public |
4 | 2 | [[#563c1a00]] | /** * {@inheritDoc} */ public final |
4 | 3 | [[#563c1a00]] | /** * {@inheritDoc} */ public final |
4 | 4 | [[#563c1a00]] | /** * {@inheritDoc} */ public final |