CloneSet4808


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8220.966statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18305
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java
28404
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java
Clone Instance
1
Line Count
8
Source Line
305
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java

                if ( !field.isViewedAsDeprecated()) return false;

                // inside same unit - no report
                if (scope.isDefinedInSameUnit(field.declaringClass)) return false;

                // if context is deprecated, may avoid reporting
                if ( !scope.compilerOptions().reportDeprecationInsideDeprecatedCode && scope.isInsideDeprecatedCode()) return false;
                return true;


Clone Instance
2
Line Count
8
Source Line
404
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ASTNode.java

                if ( !refType.isViewedAsDeprecated()) return false;

                // inside same unit - no report
                if (scope.isDefinedInSameUnit(refType)) return false;

                // if context is deprecated, may avoid reporting
                if ( !scope.compilerOptions().reportDeprecationInsideDeprecatedCode && scope.isInsideDeprecatedCode()) return false;
                return true;


Clone AbstractionParameter Count: 2Parameter Bindings

if ( ! [[#variable5d0c9fa0]].isViewedAsDeprecated())
  return false;
// inside same unit - no report
if (scope.isDefinedInSameUnit( [[#variable58c76040]]))
  return false;
// if context is deprecated, may avoid reporting
if ( !scope.compilerOptions().reportDeprecationInsideDeprecatedCode && scope.isInsideDeprecatedCode())
  return false;
return true;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5d0c9fa0]]
refType 
12[[#5d0c9fa0]]
field 
21[[#58c76040]]
refType 
22[[#58c76040]]
field.declaringClass