Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 3 | 1 | 0.994 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 141 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertAnonymousToNestedAction.java |
2 | 12 | 63 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ConvertLocalToFieldAction.java |
3 | 12 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceFactoryAction.java |
| ||||
/* (non-Javadoc) * Method declared on SelectionDispatchAction */ public void selectionChanged(ITextSelection selection) { setEnabled(fEditor != null && SelectionConverter.getInputAsCompilationUnit(fEditor) != null); } /** * Note: This method is for internal use only. Clients should not call this method. */ public void selectionChanged(JavaTextSelection selection) { try { setEnabled(RefactoringAvailabilityTester.isConvertAnonymousAvailable(selection)); } catch (JavaModelException e) { setEnabled(false); } } |
| ||||
/* (non-Javadoc) * Method declared on SelectionDispatchAction */ public void selectionChanged(ITextSelection selection) { setEnabled(fEditor != null && SelectionConverter.getInputAsCompilationUnit(fEditor) != null); } /** * Note: This method is for internal use only. Clients should not call this method. */ public void selectionChanged(JavaTextSelection selection) { try { setEnabled(RefactoringAvailabilityTester.isPromoteTempAvailable(selection)); } catch (JavaModelException e) { setEnabled(false); } } |
| ||||
/* (non-Javadoc) * Method declared on SelectionDispatchAction */ public void selectionChanged(ITextSelection selection) { setEnabled(fEditor != null && SelectionConverter.getInputAsCompilationUnit(fEditor) != null); } /** * Note: This method is for internal use only. Clients should not call this method. */ public void selectionChanged(JavaTextSelection selection) { try { setEnabled(RefactoringAvailabilityTester.isIntroduceFactoryAvailable(selection)); } catch (JavaModelException e) { setEnabled(false); } } |
| |||
/* (non-Javadoc) * Method declared on SelectionDispatchAction */ public void selectionChanged(ITextSelection selection) { setEnabled(fEditor != null && SelectionConverter.getInputAsCompilationUnit(fEditor) != null); } /** * Note: This method is for internal use only. Clients should not call this method. */ public void selectionChanged(JavaTextSelection selection) { try { setEnabled(RefactoringAvailabilityTester. [[#variable9908c500]](selection)); } catch (JavaModelException e) { setEnabled(false); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#9908c500]] | isConvertAnonymousAvailable |
1 | 2 | [[#9908c500]] | isPromoteTempAvailable |
1 | 3 | [[#9908c500]] | isIntroduceFactoryAvailable |