CloneSet5441


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

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


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

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


Clone AbstractionParameter Count: 2Parameter Bindings

public final [[#variablea08a84e0]]  [[#variablea08a8440]]() {
  Scope scope = this ;
  while ((scope = scope.parent) != null) {
    if (scope instanceof [[#variablea08a84e0]])
      return ( [[#variablea08a84e0]]) scope;
  }
  return null; // may answer null if no type around // may answer null if no method around
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a08a84e0]]
ClassScope 
12[[#a08a84e0]]
MethodScope 
21[[#a08a8440]]
enclosingClassScope 
22[[#a08a8440]]
enclosingMethodScope