CloneSet5814


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7230.952switch_groups[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
18909
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
271243
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
Clone Instance
1
Line Count
8
Source Line
909
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java

                        // scope introduction: special treat who special is
                        case Symbols.TokenLPAREN:
                        case Symbols.TokenLBRACE:
                        case Symbols.TokenLBRACKET:
                                return handleScopeIntroduction(offset + 1);

                        case Symbols.TokenEOF:
                                // trap when hitting start of document
                                return JavaHeuristicScanner.NOT_FOUND;


Clone Instance
2
Line Count
7
Source Line
1243
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java

                                // scope introduction: special treat who special is
                                case Symbols.TokenLPAREN:
                                case Symbols.TokenLBRACE:
                                case Symbols.TokenLBRACKET:
                                        return handleScopeIntroduction(startPosition + 1);

                                case Symbols.TokenSEMICOLON:
                                        return fPosition;


Clone AbstractionParameter Count: 3Parameter Bindings

// scope introduction: special treat who special is
case Symbols.TokenLPAREN:
case Symbols.TokenLBRACE:
case Symbols.TokenLBRACKET:
  return handleScopeIntroduction( [[#variable8fc9eda0]] + 1);
case Symbols. [[#variable8fc9fe00]]:
  // trap when hitting start of document
  return [[#variable8fc46300]];
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#8fc9eda0]]
startPosition 
12[[#8fc9eda0]]
offset 
21[[#8fc9fe00]]
TokenSEMICOLON 
22[[#8fc9fe00]]
TokenEOF 
31[[#8fc46300]]
fPosition 
32[[#8fc46300]]
JavaHeuristicScanner.NOT_FOUND