CloneSet2623


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8330.981statement_sequence[3]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1851
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
29113
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
39173
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java
Clone Instance
1
Line Count
8
Source Line
51
Source File
plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/declaration/ExecutableUtil.java

                        final org.eclipse.jdt.core.dom.MethodDeclaration methodAstNode =
                                (org.eclipse.jdt.core.dom.MethodDeclaration) executable.getAstNode();

                        // Synthetic methods will have no ast node
                        if (methodAstNode == null)
                                return Collections.emptyList();
                @SuppressWarnings("unchecked")
                final List<TypeParameter> typeParams = methodAstNode.typeParameters();


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

                        // We always need to look into the ast to make sure the complete list of
                        // parameters are returned since parameters with unresolved type will not 
                        // show up in the method binding
                        final org.eclipse.jdt.core.dom.MethodDeclaration methodAstNode =
                                (org.eclipse.jdt.core.dom.MethodDeclaration) executable.getAstNode();

                        // Synthetic methods will have no ast node
                        if (methodAstNode == null)
                                return Collections.emptyList();

                @SuppressWarnings("unchecked")
                final List<SingleVariableDeclaration> params = methodAstNode.parameters();


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

                        // We always need to look into the ast to make sure the complete list of
                        // parameters are returned since parameters with unresolved type will not 
                        // show up in the method binding
                        final org.eclipse.jdt.core.dom.MethodDeclaration methodAstNode =
                                (org.eclipse.jdt.core.dom.MethodDeclaration) executable.getAstNode();

                        // If this method is synthetic, there will be no AST node
                        if (methodAstNode == null)
                                return Collections.emptyList();

                @SuppressWarnings("unchecked")
                final List<Name> exceptions = methodAstNode.thrownExceptions();


Clone AbstractionParameter Count: 3Parameter Bindings

// We always need to look into the ast to make sure the complete list of
// parameters are returned since parameters with unresolved type will not 
// show up in the method binding
final org.eclipse.jdt.core.dom.MethodDeclaration methodAstNode = (org.eclipse.jdt.core.dom.MethodDeclaration) executable.getAstNode();
// Synthetic methods will have no ast node
// If this method is synthetic, there will be no AST node
if (methodAstNode == null)
  return Collections.emptyList();
@SuppressWarnings("unchecked") final List< [[#variable961410e0]]>  [[#variable7d180000]]= methodAstNode. [[#variablea4f080e0]]();
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#961410e0]]
TypeParameter 
12[[#961410e0]]
SingleVariableDeclaration 
13[[#961410e0]]
Name 
21[[#7d180000]]
typeParams 
22[[#7d180000]]
params 
23[[#7d180000]]
exceptions 
31[[#a4f080e0]]
typeParameters 
32[[#a4f080e0]]
parameters 
33[[#a4f080e0]]
thrownExceptions