CloneSet3732


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.994class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18235
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java
28245
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java
Clone Instance
1
Line Count
8
Source Line
235
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java

                public boolean visit(TypeDeclaration node) {
                        if (fBinding.getKind() == IBinding.METHOD) {
                                IMethodBinding binding = (IMethodBinding) fBinding;
                                if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) {
                                        fResult.add(node.getName());
                                }
                        }
                        return true;
                }


Clone Instance
2
Line Count
8
Source Line
245
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/LinkedNodeFinder.java

                public boolean visit(EnumDeclaration node) {
                        if (fBinding.getKind() == IBinding.METHOD) {
                                IMethodBinding binding = (IMethodBinding) fBinding;
                                if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) {
                                        fResult.add(node.getName());
                                }
                        }
                        return true;
                }


Clone AbstractionParameter Count: 1Parameter Bindings

public boolean visit( [[#variablea18d3c80]] node) {
  if (fBinding.getKind() == IBinding.METHOD) {
    IMethodBinding binding = (IMethodBinding) fBinding;
    if (binding.isConstructor() && binding.getDeclaringClass() == node.resolveBinding()) {
      fResult.add(node.getName());
    }
  }
  return true;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a18d3c80]]
TypeDeclaration 
12[[#a18d3c80]]
EnumDeclaration