CloneSet4245


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
9230.951class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
193403
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
293414
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
9
Source Line
3403
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

        public final ClassScope outerMostClassScope() {
                ClassScope lastClassScope = null;
                Scope scope = this ;
                do {
                        if (scope instanceof ClassScope)
                                lastClassScope = (ClassScope) scope;
                        scope = scope.parent;
                }
                while (  scope != null);
                return lastClassScope; // may answer null if no class around
        }


Clone Instance
2
Line Count
9
Source Line
3414
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

        public final MethodScope outerMostMethodScope() {
                MethodScope lastMethodScope = null;
                Scope scope = this ;
                do {
                        if (scope instanceof MethodScope)
                                lastMethodScope = (MethodScope) scope;
                        scope = scope.parent;
                }
                while (  scope != null);
                return lastMethodScope; // may answer null if no method around
        }


Clone AbstractionParameter Count: 3Parameter Bindings

public final [[#variablea38b9120]]  [[#variablea38b90c0]]() {
   [[#variablea38b9120]]  [[#variablea38b9040]]= null;
  Scope scope = this ;
  do {
    if (scope instanceof [[#variablea38b9120]])
       [[#variablea38b9040]]= ( [[#variablea38b9120]]) scope;
    scope = scope.parent;
  }
  while (scope != null);
  return [[#variablea38b9040]]; // may answer null if no class around // may answer null if no method around
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a38b9120]]
ClassScope 
12[[#a38b9120]]
MethodScope 
21[[#a38b90c0]]
outerMostClassScope 
22[[#a38b90c0]]
outerMostMethodScope 
31[[#a38b9040]]
lastClassScope 
32[[#a38b9040]]
lastMethodScope