CloneSet1080


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7310.996class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17128
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java
27137
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java
37158
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java
Clone Instance
1
Line Count
7
Source Line
128
Source File
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;
                }


Clone Instance
2
Line Count
7
Source Line
137
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java

                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;
                }


Clone Instance
3
Line Count
7
Source Line
158
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/rename/RenameTypeParameterProcessor.java

                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;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#7d1a6a40]]
AnnotationTypeDeclaration 
12[[#7d1a6a40]]
EnumDeclaration 
13[[#7d1a6a40]]
TypeDeclaration