CloneSet1633


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.984statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
110738
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
210935
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java
Clone Instance
1
Line Count
10
Source Line
738
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/Scope.java

                CompilationUnitScope unitScope = compilationUnitScope();
                unitScope.recordReference(enclosingType, typeName);
                ReferenceBinding memberType = enclosingType.getMemberType(typeName);
                if (memberType != null) {
                        unitScope.recordTypeReference(memberType);
                        if (enclosingReceiverType == null ?
                                  memberType.canBeSeenBy(getCurrentPackage()):
                                  memberType.canBeSeenBy(enclosingType, enclosingReceiverType))
                                        return memberType;
                        return new ProblemReferenceBinding(typeName, memberType, ProblemReasons.NotVisible);
                }


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

                CompilationUnitScope unitScope = compilationUnitScope();
                unitScope.recordReference(enclosingType, typeName);
                ReferenceBinding memberType = enclosingType.getMemberType(typeName);
                if (memberType != null) {
                        unitScope.recordTypeReference(memberType);
                        if (enclosingSourceType == null ?
                                  memberType.canBeSeenBy(currentPackage):
                                  memberType.canBeSeenBy(enclosingType, enclosingSourceType))
                                        return memberType;
                        return new ProblemReferenceBinding(typeName, memberType, ProblemReasons.NotVisible);
                }


Clone AbstractionParameter Count: 2Parameter Bindings

CompilationUnitScope unitScope = compilationUnitScope();
unitScope.recordReference(enclosingType, typeName);
ReferenceBinding memberType = enclosingType.getMemberType(typeName);
if (memberType != null) {
  unitScope.recordTypeReference(memberType);
  if ( [[#variable9d9f5600]]== null ? memberType.canBeSeenBy( [[#variable9d9f5580]]): memberType.canBeSeenBy(enclosingType,  [[#variable9d9f5600]]))
    return memberType;
  return new ProblemReferenceBinding(typeName, memberType, ProblemReasons.NotVisible);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9d9f5600]]
enclosingReceiverType 
12[[#9d9f5600]]
enclosingSourceType 
21[[#9d9f5580]]
getCurrentPackage() 
22[[#9d9f5580]]
currentPackage