CloneSet5828


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.976class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15192
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
25224
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java
Clone Instance
1
Line Count
5
Source Line
192
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java

        public boolean visit(ClassInstanceCreation node) {
                if (matches(node.resolveConstructorBinding())) {
                        fResult.add(node.getType());
                }
                return super.visit(node);
        }


Clone Instance
2
Line Count
5
Source Line
224
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/search/ExceptionOccurrencesFinder.java

        public boolean visit(SuperMethodInvocation node) {
                if (matches(node.resolveMethodBinding())) {
                        fResult.add(node.getName());
                }
                return super.visit(node);
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public boolean visit( [[#variable900c5600]] node) {
  if (matches(node. [[#variable900c5580]]())) {
    fResult.add(node. [[#variable900c5500]]());
  }
  return super.visit(node);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#900c5600]]
ClassInstanceCreation 
12[[#900c5600]]
SuperMethodInvocation 
21[[#900c5580]]
resolveConstructorBinding 
22[[#900c5580]]
resolveMethodBinding 
31[[#900c5500]]
getType 
32[[#900c5500]]
getName