Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.978 | statement_sequence[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 64 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/ExtractConstantWizard.java |
2 | 7 | 49 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/InlineConstantWizard.java |
| ||||
int messageType = IMessageProvider.NONE; if ( !getExtractConstantRefactoring().selectionAllStaticFinal()) { message = RefactoringMessages.ExtractConstantInputPage_selection_refers_to_nonfinal_fields; messageType = IMessageProvider.INFORMATION; } else { message = MESSAGE; messageType = IMessageProvider.NONE; } |
| ||||
int messageType = IMessageProvider.NONE; if ( !getInlineConstantRefactoring().isInitializerAllStaticFinal()) { message = RefactoringMessages.InlineConstantWizard_initializer_refers_to_fields; messageType = IMessageProvider.INFORMATION; } else { message = MESSAGE; messageType = IMessageProvider.NONE; } |
| |||
int messageType = IMessageProvider.NONE; if ( ! [[#variable5ca9fc80]](). [[#variable57aa06c0]]()) { message = RefactoringMessages. [[#variable5a55e520]]; messageType = IMessageProvider.INFORMATION; } else { message = MESSAGE; messageType = IMessageProvider.NONE; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5ca9fc80]] | getExtractConstantRefactoring |
1 | 2 | [[#5ca9fc80]] | getInlineConstantRefactoring |
2 | 1 | [[#57aa06c0]] | selectionAllStaticFinal |
2 | 2 | [[#57aa06c0]] | isInitializerAllStaticFinal |
3 | 1 | [[#5a55e520]] | ExtractConstantInputPage_selection_refers_to_nonfinal_fields |
3 | 2 | [[#5a55e520]] | InlineConstantWizard_initializer_refers_to_fields |