CloneSet3446


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6310.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1683
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java
2683
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java
3682
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java
Clone Instance
1
Line Count
6
Source Line
83
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java

        //---- structured selection ----------------------------------------------
        /*
         * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
         */
        public void selectionChanged(IStructuredSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isInlineMethodAvailable(selection));
                } catch (JavaModelException e) {
                        if (JavaModelUtil.isExceptionToBeLogged(e))
                                JavaPlugin.log(e);
                  }
        }


Clone Instance
2
Line Count
6
Source Line
83
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java

        //---- structured selection --------------------------------------------------
        /*
         * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
         */
        public void selectionChanged(IStructuredSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isIntroduceIndirectionAvailable(selection));
                } catch (JavaModelException e) {
                        if (JavaModelUtil.isExceptionToBeLogged(e))
                                JavaPlugin.log(e);
                  }
        }


Clone Instance
3
Line Count
6
Source Line
82
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java

        //---- structured selection --------------------------------------------------
        /*
         * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
         */
        public void selectionChanged(IStructuredSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isReplaceInvocationsAvailable(selection));
                } catch (JavaModelException e) {
                        if (JavaModelUtil.isExceptionToBeLogged(e))
                                JavaPlugin.log(e);
                  }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

//---- structured selection ----------------------------------------------
//---- structured selection --------------------------------------------------
/*
         * @see SelectionDispatchAction#selectionChanged(IStructuredSelection)
         */
public void selectionChanged(IStructuredSelection selection) {
  try {
    setEnabled(RefactoringAvailabilityTester. [[#variablea3182e40]](selection));
  }
  catch (JavaModelException e) {
    if (JavaModelUtil.isExceptionToBeLogged(e))
      JavaPlugin.log(e);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a3182e40]]
isInlineMethodAvailable 
12[[#a3182e40]]
isReplaceInvocationsAvailable 
13[[#a3182e40]]
isIntroduceIndirectionAvailable