CloneSet1711


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
25440.956compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12511
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ChangeMethodSignatureRefactoringContribution.java
22511
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InferTypeArgumentsRefactoringContribution.java
32511
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceIndirectionRefactoringContribution.java
42511
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/SelfEncapsulateRefactoringContribution.java
Clone Instance
1
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ChangeMethodSignatureRefactoringContribution.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);
        }
}




Clone Instance
2
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/InferTypeArgumentsRefactoringContribution.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.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);
        }
}




Clone Instance
3
Line Count
25
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/IntroduceIndirectionRefactoringContribution.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.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);
        }
}




Clone Instance
4
Line Count
25
Source Line
11
Source File
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.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);
        }
}




Clone AbstractionParameter Count: 4Parameter Bindings

/*******************************************************************************
 * 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#563c1ba0]]
structure 
12[[#563c1ba0]]
generics 
13[[#563c1ba0]]
code 
14[[#563c1ba0]]
sef 
21[[#563c1b00]]
ChangeSignatureRefactoring 
22[[#563c1b00]]
InferTypeArgumentsRefactoring 
23[[#563c1b00]]
IntroduceIndirectionRefactoring 
24[[#563c1b00]]
SelfEncapsulateFieldRefactoring 
31[[#563c1a60]]
ChangeMethodSignatureRefactoringContribution 
32[[#563c1a60]]
InferTypeArgumentsRefactoringContribution 
33[[#563c1a60]]
IntroduceIndirectionRefactoringContribution 
34[[#563c1a60]]
SelfEncapsulateRefactoringContribution 
41[[#563c1a00]]
/**
 * {@inheritDoc}
 */
public 
42[[#563c1a00]]
/**
 * {@inheritDoc}
 */
public final 
43[[#563c1a00]]
/**
 * {@inheritDoc}
 */
public final 
44[[#563c1a00]]
/**
 * {@inheritDoc}
 */
public final