CloneSet3252


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5220.990executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15263
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java
25516
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java
Clone Instance
1
Line Count
5
Source Line
263
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/FieldLocator.java

                      {
                if (resource == null)
                        resource = type.getJavaProject().getProject();
                info = locator.getBinaryInfo((org.eclipse.jdt.internal.core.ClassFile) type.getClassFile(), resource);
                locator.reportBinaryMemberDeclaration(resource, field, fieldBinding, info, SearchMatch.A_ACCURATE);
                      }


Clone Instance
2
Line Count
5
Source Line
516
Source File
plugins/org.eclipse.jdt.core/search/org/eclipse/jdt/internal/core/search/matching/MethodLocator.java

                      {
                if (resource == null)
                        resource = type.getJavaProject().getProject();
                info = locator.getBinaryInfo((org.eclipse.jdt.internal.core.ClassFile) type.getClassFile(), resource);
                locator.reportBinaryMemberDeclaration(resource, method, methodBinding, info, SearchMatch.A_ACCURATE);
                      }


Clone AbstractionParameter Count: 2Parameter Bindings

{
  if (resource == null)
    resource = type.getJavaProject().getProject();
  info = locator.getBinaryInfo((org.eclipse.jdt.internal.core.ClassFile) type.getClassFile(), resource);
  locator.reportBinaryMemberDeclaration(resource,  [[#variable597a52e0]],  [[#variable597a59c0]], info, SearchMatch.A_ACCURATE);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#597a52e0]]
method 
12[[#597a52e0]]
field 
21[[#597a59c0]]
methodBinding 
22[[#597a59c0]]
fieldBinding