Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
3 | 3 | 2 | 0.980 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 4 | 94 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/actions/InlineConstantAction.java |
2 | 3 | 115 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/IntroduceIndirectionAction.java |
3 | 3 | 114 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/actions/ReplaceInvocationsAction.java |
| ||||
Assert.isTrue(RefactoringAvailabilityTester.isInlineConstantAvailable(selection)); Object first = selection.getFirstElement(); Assert.isTrue(first instanceof IField); |
| ||||
Assert.isTrue(RefactoringAvailabilityTester.isIntroduceIndirectionAvailable(selection)); Object first = selection.getFirstElement(); Assert.isTrue(first instanceof IMethod); |
| ||||
Assert.isTrue(RefactoringAvailabilityTester.isReplaceInvocationsAvailable(selection)); Object first = selection.getFirstElement(); Assert.isTrue(first instanceof IMethod); |
| |||
Assert.isTrue(RefactoringAvailabilityTester. [[#variable5f9f1280]](selection)); Object first = selection.getFirstElement(); Assert.isTrue(first instanceof [[#variable5f9f1160]]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5f9f1280]] | isIntroduceIndirectionAvailable |
1 | 2 | [[#5f9f1280]] | isReplaceInvocationsAvailable |
1 | 3 | [[#5f9f1280]] | isInlineConstantAvailable |
2 | 1 | [[#5f9f1160]] | IMethod |
2 | 2 | [[#5f9f1160]] | IMethod |
2 | 3 | [[#5f9f1160]] | IField |