CloneSet6517


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000statement_sequence[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
112496
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
27553
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java
Clone Instance
1
Line Count
12
Source Line
496
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

                        int nameStart = offset;
                        try {
                                /* The member's name range may not be correct. However,
                                 * reconciling would trigger another element delta which would
                                 * lead to reentrant situations. Therefore, we optimistically
                                 * assume that the name range is correct, but double check the
                                 * received lines below. */
                                ISourceRange nameRange = fMember.getNameRange();
                                if (nameRange != null)
                                        nameStart = nameRange.getOffset();
                        }
                          catch (JavaModelException e) {
                                // ignore and use default
                          }


Clone Instance
2
Line Count
7
Source Line
553
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/ui/text/folding/DefaultJavaFoldingStructureProvider.java

                        int nameStart = offset;
                        try {
                                // need a reconcile here?
                                ISourceRange nameRange = fMember.getNameRange();
                                if (nameRange != null)
                                        nameStart = nameRange.getOffset();
                        } catch (JavaModelException e) {
                                // ignore and use default
                          }


Clone AbstractionParameter Count: 0Parameter Bindings

int nameStart = offset;
try {
  // need a reconcile here?
  /* The member's name range may not be correct. However,
                                   * reconciling would trigger another element delta which would
                                   * lead to reentrant situations. Therefore, we optimistically
                                   * assume that the name range is correct, but double check the
                                   * received lines below. */
  ISourceRange nameRange = fMember.getNameRange();
  if (nameRange != null)
    nameStart = nameRange.getOffset();
}
catch (JavaModelException e) {
// ignore and use default
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None