CloneSet4584


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
5230.954class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
15632
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
25678
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java
Clone Instance
1
Line Count
5
Source Line
632
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java

                /* (non-Javadoc)
                 * @see org.eclipse.jdt.internal.corext.dom.HierarchicalASTVisitor#visit(org.eclipse.jdt.core.dom.TypeParameter)
                 */
                public boolean visit(TypeParameter node) {
                        if (hasFlag(TYPES, fFlags) && node.getStartPosition() < fPosition) {
                                fBreak = fRequestor.acceptBinding(node.getName().resolveBinding());
                        }
                        return !fBreak;
                }


Clone Instance
2
Line Count
5
Source Line
678
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/dom/ScopeAnalyzer.java

                public boolean visit(VariableDeclaration node) {
                        if (hasFlag(VARIABLES, fFlags) && node.getStartPosition() < fPosition) {
                                fBreak = fRequestor.acceptBinding(node.resolveBinding());
                        }
                        return !fBreak;
                }


Clone AbstractionParameter Count: 3Parameter Bindings

/* (non-Javadoc)
                 * @see org.eclipse.jdt.internal.corext.dom.HierarchicalASTVisitor#visit(org.eclipse.jdt.core.dom.TypeParameter)
                 */
public boolean visit( [[#variable4e075aa0]] node) {
  if (hasFlag( [[#variable4e075a20]], fFlags) && node.getStartPosition() < fPosition) {
    fBreak = fRequestor.acceptBinding( [[#variable538ca060]].resolveBinding());
  }
  return !fBreak;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#4e075aa0]]
TypeParameter 
12[[#4e075aa0]]
VariableDeclaration 
21[[#4e075a20]]
TYPES 
22[[#4e075a20]]
VARIABLES 
31[[#538ca060]]
node.getName() 
32[[#538ca060]]
node