CloneSet1577


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11310.982block
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111229
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java
211242
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java
311255
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java
Clone Instance
1
Line Count
11
Source Line
229
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java

                                                                                      {
                if (isPublic(member))
                        return Modifier.PUBLIC;
                else if (isProtected(member))
                        return Modifier.PROTECTED;
                     else
                     if (isPackageVisible(member))
                        return Modifier.NONE;
                     else
                     if (isPrivate(member))
                        return Modifier.PRIVATE;
                Assert.isTrue(false);
                return VISIBILITY_CODE_INVALID;
                                                                                      }


Clone Instance
2
Line Count
11
Source Line
242
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java

                                                                             {
                if (isPublic(bodyDeclaration))
                        return Modifier.PUBLIC;
                else if (isProtected(bodyDeclaration))
                        return Modifier.PROTECTED;
                     else
                     if (isPackageVisible(bodyDeclaration))
                        return Modifier.NONE;
                     else
                     if (isPrivate(bodyDeclaration))
                        return Modifier.PRIVATE;
                Assert.isTrue(false);
                return VISIBILITY_CODE_INVALID;
                                                                             }


Clone Instance
3
Line Count
11
Source Line
255
Source File
plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/util/JdtFlags.java

                                                              {
                if (isPublic(binding))
                        return Modifier.PUBLIC;
                else if (isProtected(binding))
                        return Modifier.PROTECTED;
                     else
                     if (isPackageVisible(binding))
                        return Modifier.NONE;
                     else
                     if (isPrivate(binding))
                        return Modifier.PRIVATE;
                Assert.isTrue(false);
                return VISIBILITY_CODE_INVALID;
                                                              }


Clone AbstractionParameter Count: 1Parameter Bindings

{
  if (isPublic( [[#variable9af43c40]]))
    return Modifier.PUBLIC;
  else
    if (isProtected( [[#variable9af43c40]]))
      return Modifier.PROTECTED;
    else
      if (isPackageVisible( [[#variable9af43c40]]))
        return Modifier.NONE;
      else
        if (isPrivate( [[#variable9af43c40]]))
          return Modifier.PRIVATE;
  Assert.isTrue(false);
  return VISIBILITY_CODE_INVALID;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9af43c40]]
member 
12[[#9af43c40]]
bodyDeclaration 
13[[#9af43c40]]
binding