CloneSet3824


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10201.000statement_sequence[5]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110274
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java
210316
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java
Clone Instance
1
Line Count
10
Source Line
274
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java

                if ( !(selectedNode instanceof MethodDeclaration)) {
                        return;
                }
                MethodDeclaration decl = (MethodDeclaration) selectedNode;
                IMethodBinding methodDeclBinding = decl.resolveBinding();
                if (methodDeclBinding == null) {
                        return;
                }

                IMethodBinding overridden = Bindings.findOverriddenMethod(methodDeclBinding, false);


Clone Instance
2
Line Count
10
Source Line
316
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/TypeMismatchSubProcessor.java

                if ( !(selectedNode instanceof MethodDeclaration)) {
                        return;
                }
                MethodDeclaration decl = (MethodDeclaration) selectedNode;
                IMethodBinding methodDeclBinding = decl.resolveBinding();
                if (methodDeclBinding == null) {
                        return;
                }

                IMethodBinding overridden = Bindings.findOverriddenMethod(methodDeclBinding, false);


Clone AbstractionParameter Count: 0Parameter Bindings

if ( !(selectedNode instanceof MethodDeclaration)) {
  return;
}
MethodDeclaration decl = (MethodDeclaration) selectedNode;
IMethodBinding methodDeclBinding = decl.resolveBinding();
if (methodDeclBinding == null) {
  return;
}
IMethodBinding overridden = Bindings.findOverriddenMethod(methodDeclBinding, false);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None