| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 4 | 2 | 4 | 0.964 | statement_sequence[2] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 4 | 332 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
| 2 | 5 | 340 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/IntroduceIndirectionRefactoring.java |
| ||||
if (target.isAnnotation())
return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_annotation);
if (target.isInterface())
return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_on_interface);
|
| ||||
if (target.isReadOnly())
return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_readonly);
if (target.isBinary())
return RefactoringStatus.createErrorStatus(RefactoringCoreMessages.IntroduceIndirectionRefactoring_cannot_create_in_binary);
|
| |||
if (target. [[#variable61fa3b20]]()) return RefactoringStatus.createErrorStatus(RefactoringCoreMessages. [[#variable61fa3ac0]]); if (target. [[#variable61fa3ae0]]()) return RefactoringStatus.createErrorStatus(RefactoringCoreMessages. [[#variable61fa30a0]]); |
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#61fa3b20]] | isAnnotation |
| 1 | 2 | [[#61fa3b20]] | isReadOnly |
| 2 | 1 | [[#61fa3ac0]] | IntroduceIndirectionRefactoring_cannot_create_in_annotation |
| 2 | 2 | [[#61fa3ac0]] | IntroduceIndirectionRefactoring_cannot_create_in_readonly |
| 3 | 1 | [[#61fa3ae0]] | isInterface |
| 3 | 2 | [[#61fa3ae0]] | isBinary |
| 4 | 1 | [[#61fa30a0]] | IntroduceIndirectionRefactoring_cannot_create_on_interface |
| 4 | 2 | [[#61fa30a0]] | IntroduceIndirectionRefactoring_cannot_create_in_binary |