CloneSet355


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
131320.984class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112111
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java
212109
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java
31279
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java
41274
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java
51276
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveAction.java
613133
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java
712130
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java
812107
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java
91277
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java
101295
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java
111295
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java
121294
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java
1312124
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java
Clone Instance
1
Line Count
12
Source Line
111
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java

        //---- text selection -----------------------------------------------
    /*
     * @see SelectionDispatchAction#selectionChanged(ITextSelection)
     */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isInlineConstantAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
2
Line Count
12
Source Line
109
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineMethodAction.java

        /*
         * @see SelectionDispatchAction#selectionChanged(ITextSelection)
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isInlineMethodAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
3
Line Count
12
Source Line
79
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveInstanceMethodAction.java

        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isMoveMethodAvailable(selection));
                } catch (CoreException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
4
Line Count
12
Source Line
74
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/MoveStaticMembersAction.java

        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isMoveStaticAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
5
Line Count
12
Source Line
76
Source File
plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/reorg/ReorgMoveAction.java

        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isMoveAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
6
Line Count
13
Source Line
133
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ChangeTypeAction.java

        //---- text selection ------------------------------------------------------------
        /*
         * (non-Javadoc) Method declared on SelectionDispatchAction
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         * @param selection the java text selection
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isGeneralizeTypeAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
7
Line Count
12
Source Line
130
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertNestedToTopAction.java

        //---- Text Selection -------------------------------------------------------
        /*
         * @see SelectionDispatchAction#selectionChanged(ITextSelection)
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isMoveInnerAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
8
Line Count
12
Source Line
107
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ExtractInterfaceAction.java

    /*
     * @see SelectionDispatchAction#selectionChanged(ITextSelection)
     */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isExtractInterfaceAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
9
Line Count
12
Source Line
77
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/InlineTempAction.java

        //---- text selection ----------------------------------------------------------
        /* (non-Javadoc)
         * Method declared on SelectionDispatchAction
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isInlineTempAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
10
Line Count
12
Source Line
95
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java

        /*
         * @see SelectionDispatchAction#selectionChanged(ITextSelection)
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isIntroduceIndirectionAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
11
Line Count
12
Source Line
95
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ModifyParametersAction.java

    /*
     * @see SelectionDispatchAction#selectionChanged(ITextSelection)
     */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isChangeSignatureAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
12
Line Count
12
Source Line
94
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java

        /*
         * @see SelectionDispatchAction#selectionChanged(ITextSelection)
         */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isReplaceInvocationsAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone Instance
13
Line Count
12
Source Line
124
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/UseSupertypeAction.java

        //---- text selection ------------------------------------------------------
    /*
     * @see SelectionDispatchAction#selectionChanged(ITextSelection)
     */
        public void selectionChanged(ITextSelection selection) {
                setEnabled(true);
        }

        /**
         * Note: This method is for internal use only. Clients should not call this method.
         */
        public void selectionChanged(JavaTextSelection selection) {
                try {
                        setEnabled(RefactoringAvailabilityTester.isUseSuperTypeAvailable(selection));
                } catch (JavaModelException e) {
                        setEnabled(false);
                  }
        }


Clone AbstractionParameter Count: 2Parameter Bindings

//---- text selection ------------------------------------------------------------
/*
         * (non-Javadoc) Method declared on SelectionDispatchAction
         */
//---- Text Selection -------------------------------------------------------
/*
         * @see SelectionDispatchAction#selectionChanged(ITextSelection)
         */
//---- text selection ------------------------------------------------------
//---- text selection -----------------------------------------------
/*
     * @see SelectionDispatchAction#selectionChanged(ITextSelection)
     */
//---- text selection ----------------------------------------------------------
/* (non-Javadoc)
         * Method declared on SelectionDispatchAction
         */
public void selectionChanged(ITextSelection selection) {
  setEnabled(true);
}

/**
         * Note: This method is for internal use only. Clients should not call this method.
         * @param selection the java text selection
         */
/**
         * Note: This method is for internal use only. Clients should not call this method.
         */
public void selectionChanged(JavaTextSelection selection) {
  try {
    setEnabled(RefactoringAvailabilityTester. [[#variablec239f400]](selection));
  }
  catch ( [[#variablec239f420]] e) {
    setEnabled(false);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#c239f400]]
isGeneralizeTypeAvailable 
12[[#c239f400]]
isMoveInnerAvailable 
13[[#c239f400]]
isExtractInterfaceAvailable 
14[[#c239f400]]
isInlineTempAvailable 
15[[#c239f400]]
isIntroduceIndirectionAvailable 
16[[#c239f400]]
isChangeSignatureAvailable 
17[[#c239f400]]
isMoveAvailable 
18[[#c239f400]]
isMoveStaticAvailable 
19[[#c239f400]]
isReplaceInvocationsAvailable 
110[[#c239f400]]
isUseSuperTypeAvailable 
111[[#c239f400]]
isInlineConstantAvailable 
112[[#c239f400]]
isInlineMethodAvailable 
113[[#c239f400]]
isMoveMethodAvailable 
21[[#c239f420]]
JavaModelException 
22[[#c239f420]]
JavaModelException 
23[[#c239f420]]
JavaModelException 
24[[#c239f420]]
JavaModelException 
25[[#c239f420]]
JavaModelException 
26[[#c239f420]]
JavaModelException 
27[[#c239f420]]
JavaModelException 
28[[#c239f420]]
JavaModelException 
29[[#c239f420]]
JavaModelException 
210[[#c239f420]]
JavaModelException 
211[[#c239f420]]
JavaModelException 
212[[#c239f420]]
JavaModelException 
213[[#c239f420]]
CoreException