CloneSet816


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
26560.962compilation_unit
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
12611
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractInterfaceRefactoringContribution.java
22611
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractSupertypeRefactoringContribution.java
32611
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/MoveMethodRefactoringContribution.java
42611
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/MoveStaticMembersRefactoringContribution.java
52611
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/PullUpRefactoringContribution.java
Clone Instance
1
Line Count
26
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractInterfaceRefactoringContribution.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.ExtractInterfaceProcessor;
import org.eclipse.jdt.internal.corext.refactoring.structure.ExtractInterfaceRefactoring;

/**
 * Refactoring contribution for the extract interface refactoring.
 * 
 * @since 3.2
 */
public final class ExtractInterfaceRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new ExtractInterfaceRefactoring(new ExtractInterfaceProcessor(null, null));
        }
}




Clone Instance
2
Line Count
26
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/ExtractSupertypeRefactoringContribution.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.ExtractSupertypeProcessor;
import org.eclipse.jdt.internal.corext.refactoring.structure.ExtractSupertypeRefactoring;

/**
 * Refactoring contribution for the extract supertype refactoring.
 * 
 * @since 3.2
 */
public final class ExtractSupertypeRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new ExtractSupertypeRefactoring(new ExtractSupertypeProcessor(null, null));
        }
}




Clone Instance
3
Line Count
26
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/MoveMethodRefactoringContribution.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.MoveInstanceMethodProcessor;
import org.eclipse.jdt.internal.corext.refactoring.structure.MoveInstanceMethodRefactoring;

/**
 * Refactoring contribution for the move method refactoring.
 * 
 * @since 3.2
 */
public final class MoveMethodRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new MoveInstanceMethodRefactoring(new MoveInstanceMethodProcessor(null, null));
        }
}




Clone Instance
4
Line Count
26
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/MoveStaticMembersRefactoringContribution.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.JavaMoveRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.structure.MoveStaticMembersProcessor;

/**
 * Refactoring contribution for the move static members refactoring.
 * 
 * @since 3.2
 */
public final class MoveStaticMembersRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new JavaMoveRefactoring(new MoveStaticMembersProcessor(null, null));
        }
}




Clone Instance
5
Line Count
26
Source Line
11
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/scripting/PullUpRefactoringContribution.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.PullUpRefactoring;
import org.eclipse.jdt.internal.corext.refactoring.structure.PullUpRefactoringProcessor;

/**
 * Refactoring contribution for the pull up refactoring.
 * 
 * @since 3.2
 */
public final class PullUpRefactoringContribution extends JavaRefactoringContribution {

        /**
         * {@inheritDoc}
         */
        public final Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
                return new PullUpRefactoring(new PullUpRefactoringProcessor(null, null));
        }
}




Clone AbstractionParameter Count: 6Parameter 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.structure. [[#variable97f7a0e0]];
import org.eclipse.jdt.internal.corext.refactoring.structure. [[#variable97f7a080]];

/**
 * Refactoring contribution for the extract interface refactoring.
 * 
 * @since 3.2
 */
/**
 * Refactoring contribution for the extract supertype refactoring.
 * 
 * @since 3.2
 */
/**
 * Refactoring contribution for the move method refactoring.
 * 
 * @since 3.2
 */
/**
 * Refactoring contribution for the move static members refactoring.
 * 
 * @since 3.2
 */
/**
 * Refactoring contribution for the pull up refactoring.
 * 
 * @since 3.2
 */
public final class [[#variable97f7a040]]extends JavaRefactoringContribution {
   [[#variable59b79b40]]Refactoring createRefactoring( final RefactoringDescriptor descriptor) throws CoreException {
    return new [[#variable59b79b00]](new [[#variable59b791e0]](null, null));
  }
}


 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97f7a0e0]]
ExtractInterfaceProcessor 
12[[#97f7a0e0]]
ExtractSupertypeProcessor 
13[[#97f7a0e0]]
MoveInstanceMethodProcessor 
14[[#97f7a0e0]]
JavaMoveRefactoring 
15[[#97f7a0e0]]
PullUpRefactoring 
21[[#97f7a080]]
ExtractInterfaceRefactoring 
22[[#97f7a080]]
ExtractSupertypeRefactoring 
23[[#97f7a080]]
MoveInstanceMethodRefactoring 
24[[#97f7a080]]
MoveStaticMembersProcessor 
25[[#97f7a080]]
PullUpRefactoringProcessor 
31[[#97f7a040]]
ExtractInterfaceRefactoringContribution 
32[[#97f7a040]]
ExtractSupertypeRefactoringContribution 
33[[#97f7a040]]
MoveMethodRefactoringContribution 
34[[#97f7a040]]
MoveStaticMembersRefactoringContribution 
35[[#97f7a040]]
PullUpRefactoringContribution 
41[[#59b79b40]]
/**
 * {@inheritDoc}
 */
public final 
42[[#59b79b40]]
/**
 * {@inheritDoc}
 */
public final 
43[[#59b79b40]]
/**
 * {@inheritDoc}
 */
public 
44[[#59b79b40]]
/**
 * {@inheritDoc}
 */
public 
45[[#59b79b40]]
/**
 * {@inheritDoc}
 */
public final 
51[[#59b79b00]]
ExtractInterfaceRefactoring 
52[[#59b79b00]]
ExtractSupertypeRefactoring 
53[[#59b79b00]]
MoveInstanceMethodRefactoring 
54[[#59b79b00]]
JavaMoveRefactoring 
55[[#59b79b00]]
PullUpRefactoring 
61[[#59b791e0]]
ExtractInterfaceProcessor 
62[[#59b791e0]]
ExtractSupertypeProcessor 
63[[#59b791e0]]
MoveInstanceMethodProcessor 
64[[#59b791e0]]
MoveStaticMembersProcessor 
65[[#59b791e0]]
PullUpRefactoringProcessor