Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 3 | 1 | 0.996 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 128 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java |
2 | 7 | 137 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java |
3 | 7 | 158 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java |
| ||||
public final boolean visit( final AnnotationTypeDeclaration node) { final String name = node.getName().getIdentifier(); if (name.equals(getNewElementName())) { fStatus.addError(Messages.format(RefactoringCoreMessages.RenameTypeParameterRefactoring_type_parameter_inner_class_clash, new String[] { name } ), JavaStatusContext.create(fTypeParameter.getDeclaringMember().getCompilationUnit(), new SourceRange(node))); return false; } return true; } |
| ||||
public final boolean visit( final EnumDeclaration node) { final String name = node.getName().getIdentifier(); if (name.equals(getNewElementName())) { fStatus.addError(Messages.format(RefactoringCoreMessages.RenameTypeParameterRefactoring_type_parameter_inner_class_clash, new String[] { name } ), JavaStatusContext.create(fTypeParameter.getDeclaringMember().getCompilationUnit(), new SourceRange(node))); return false; } return true; } |
| ||||
public final boolean visit( final TypeDeclaration node) { final String name = node.getName().getIdentifier(); if (name.equals(getNewElementName())) { fStatus.addError(Messages.format(RefactoringCoreMessages.RenameTypeParameterRefactoring_type_parameter_inner_class_clash, new String[] { name } ), JavaStatusContext.create(fTypeParameter.getDeclaringMember().getCompilationUnit(), new SourceRange(node))); return false; } return true; } |
| |||
public final boolean visit( final [[#variable7d1a6a40]] node) { final String name = node.getName().getIdentifier(); if (name.equals(getNewElementName())) { fStatus.addError(Messages.format(RefactoringCoreMessages.RenameTypeParameterRefactoring_type_parameter_inner_class_clash, new String[] { name } ), JavaStatusContext.create(fTypeParameter.getDeclaringMember().getCompilationUnit(), new SourceRange(node))); return false; } return true; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#7d1a6a40]] | AnnotationTypeDeclaration |
1 | 2 | [[#7d1a6a40]] | EnumDeclaration |
1 | 3 | [[#7d1a6a40]] | TypeDeclaration |