CloneSet3550


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15463
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java
25470
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java
Clone Instance
1
Line Count
5
Source Line
463
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java

        private Expression createReceiver(ASTRewrite rewriter, CallContext context, IMethodBinding method) {
                String receiver = getReceiver(context, method.getModifiers());
                if (receiver == null)
                        return null;
                return (Expression) rewriter.createStringPlaceholder(receiver, ASTNode.METHOD_INVOCATION);
        }


Clone Instance
2
Line Count
5
Source Line
470
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/code/SourceProvider.java

        private Expression createReceiver(ASTRewrite rewriter, CallContext context, IVariableBinding field) {
                String receiver = getReceiver(context, field.getModifiers());
                if (receiver == null)
                        return null;
                return (Expression) rewriter.createStringPlaceholder(receiver, ASTNode.SIMPLE_NAME);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

private Expression createReceiver(ASTRewrite rewriter, CallContext context, [[#variable5650fb20]]  [[#variable5650faa0]]) {
  String receiver = getReceiver(context,  [[#variable5650faa0]].getModifiers());
  if (receiver == null)
    return null;
  return (Expression) rewriter.createStringPlaceholder(receiver, ASTNode. [[#variable5650fa20]]);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5650fb20]]
IMethodBinding 
12[[#5650fb20]]
IVariableBinding 
21[[#5650faa0]]
method 
22[[#5650faa0]]
field 
31[[#5650fa20]]
METHOD_INVOCATION 
32[[#5650fa20]]
SIMPLE_NAME