CloneSet504


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7620.970class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1745
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/JavaRenameRefactoring.java
2764
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceRefactoring.java
3745
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/JavaMoveRefactoring.java
4762
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java
5762
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java
6764
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeRefactoring.java
Clone Instance
1
Line Count
7
Source Line
45
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/JavaRenameRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, getProcessor().getIdentifier()));
        }


Clone Instance
2
Line Count
7
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/ExtractInterfaceRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, ExtractInterfaceProcessor.ID_EXTRACT_INTERFACE));
        }


Clone Instance
3
Line Count
7
Source Line
45
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/JavaMoveRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, getProcessor().getIdentifier()));
        }


Clone Instance
4
Line Count
7
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PullUpRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, getProcessor().getIdentifier()));
        }


Clone Instance
5
Line Count
7
Source Line
62
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/PushDownRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, getProcessor().getIdentifier()));
        }


Clone Instance
6
Line Count
7
Source Line
64
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/structure/UseSuperTypeRefactoring.java

        /**
         * {@inheritDoc}
         */
        public final RefactoringStatus initialize( final RefactoringArguments arguments) {
                Assert.isNotNull(arguments);
                final RefactoringProcessor processor = getProcessor();
                if (processor instanceof IScriptableRefactoring) {
                        return ((IScriptableRefactoring) processor).initialize(arguments);
                }
                return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization, UseSuperTypeProcessor.ID_USE_SUPERTYPE));
        }


Clone AbstractionParameter Count: 2Parameter Bindings

/**
         * {@inheritDoc}
         */
public final RefactoringStatus initialize( final RefactoringArguments arguments) {
  Assert.isNotNull(arguments);
  final RefactoringProcessor processor = getProcessor();
  if (processor instanceof IScriptableRefactoring) {
    return ((IScriptableRefactoring) processor).initialize(arguments);
  }
  return RefactoringStatus.createFatalErrorStatus(Messages.format(RefactoringCoreMessages.ProcessorBasedRefactoring_error_unsupported_initialization,  [[#variablec2752260]] [[#variablec2752240]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c2752260]]
getProcessor() 
12[[#c2752260]]
UseSuperTypeProcessor 
13[[#c2752260]]
ExtractInterfaceProcessor 
14[[#c2752260]]
getProcessor() 
15[[#c2752260]]
getProcessor() 
16[[#c2752260]]
getProcessor() 
21[[#c2752240]]
.getIdentifier() 
22[[#c2752240]]
.ID_USE_SUPERTYPE 
23[[#c2752240]]
.ID_EXTRACT_INTERFACE 
24[[#c2752240]]
.getIdentifier() 
25[[#c2752240]]
.getIdentifier() 
26[[#c2752240]]
.getIdentifier()