CloneSet4034


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8201.000executable_statement
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18645
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
283518
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
8
Source Line
645
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                                                           {
                        switch (current.kind) {
                                case METHOD_SCOPE:
                                        return ((MethodScope) current).referenceContext;
                                case CLASS_SCOPE:
                                        return ((ClassScope) current).referenceContext;
                                case COMPILATION_UNIT_SCOPE:
                                        return ((CompilationUnitScope) current).referenceContext;
                              }
                                                           }


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

                   {
                        switch (current.kind) {
                                case METHOD_SCOPE:
                                        return ((MethodScope) current).referenceContext;
                                case CLASS_SCOPE:
                                        return ((ClassScope) current).referenceContext;
                                case COMPILATION_UNIT_SCOPE:
                                        return ((CompilationUnitScope) current).referenceContext;
                              }
                   }


Clone AbstractionParameter Count: 0Parameter Bindings

{
  switch (current.kind) {
    case METHOD_SCOPE:
      return ((MethodScope) current).referenceContext;
    case CLASS_SCOPE:
      return ((ClassScope) current).referenceContext;
    case COMPILATION_UNIT_SCOPE:
      return ((CompilationUnitScope) current).referenceContext;
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None