CloneSet1696


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9320.981statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1962
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ClassDeclarationImpl.java
29252
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java
39267
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java
Clone Instance
1
Line Count
9
Source Line
62
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ClassDeclarationImpl.java

                                final IMethodBinding methodBinding = methodDecl.resolveBinding();
                                // built an ast based representation.
                                if (methodBinding == null) {
                                        if (file == null)
                                                file = getResource();
                                        ConstructorDeclaration mirrorDecl =
                                                (ConstructorDeclaration) Factory.createDeclaration(methodDecl, file, _env);
                                        if (mirrorDecl != null)
                                                results.add(mirrorDecl);
                                }


Clone Instance
2
Line Count
9
Source Line
252
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java

                                final IMethodBinding methodBinding = methodDecl.resolveBinding();
                                // built an ast based representation.
                                if (methodBinding == null) {
                                        if (file == null)
                                                file = getResource();
                                        MethodDeclaration mirrorDecl =
                                                (MethodDeclaration) Factory.createDeclaration(methodDecl, file, _env);
                                        if (mirrorDecl != null)
                                                results.add(mirrorDecl);
                                }


Clone Instance
3
Line Count
9
Source Line
267
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/TypeDeclarationImpl.java

                        final IMethodBinding methodBinding = memberDecl.resolveBinding();
                                // built an ast based representation.
                                if (methodBinding == null) {
                                        if (file == null)
                                        file = getResource();
                                MethodDeclaration mirrorDecl =
                                        (MethodDeclaration) Factory.createDeclaration(memberDecl, file, _env);
                                if (mirrorDecl != null)
                                        results.add(mirrorDecl);
                                }


Clone AbstractionParameter Count: 2Parameter Bindings

final IMethodBinding methodBinding = [[#variable94dcec80]].resolveBinding();
// built an ast based representation.
if (methodBinding == null) {
  if (file == null)
    file = getResource();
   [[#variable530a5d00]] mirrorDecl = ( [[#variable530a5d00]]) Factory.createDeclaration( [[#variable94dcec80]], file, _env);
  if (mirrorDecl != null)
    results.add(mirrorDecl);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#94dcec80]]
methodDecl 
12[[#94dcec80]]
memberDecl 
13[[#94dcec80]]
methodDecl 
21[[#530a5d00]]
ConstructorDeclaration 
22[[#530a5d00]]
MethodDeclaration 
23[[#530a5d00]]
MethodDeclaration