CloneSet5170


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6240.971class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16346
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
26354
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java
Clone Instance
1
Line Count
6
Source Line
346
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/JavaIndenter.java

                private boolean prefIndentBracesForBlocks() {
                        return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_BLOCK));
                }

                private boolean prefIndentBracesForArrays() {
                        return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER));
                }


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

                private boolean prefIndentBracesForMethods() {
                        return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION));
                }

                private boolean prefIndentBracesForTypes() {
                        return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants.FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION));
                }


Clone AbstractionParameter Count: 4Parameter Bindings

private boolean  [[#variable61655220]]() {
  return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants. [[#variable61655200]]));
}

private boolean  [[#variable616551e0]]() {
  return DefaultCodeFormatterConstants.NEXT_LINE_SHIFTED.equals(getCoreFormatterOption(DefaultCodeFormatterConstants. [[#variable61654fe0]]));
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#61655220]]
prefIndentBracesForBlocks 
12[[#61655220]]
prefIndentBracesForMethods 
21[[#61655200]]
FORMATTER_BRACE_POSITION_FOR_BLOCK 
22[[#61655200]]
FORMATTER_BRACE_POSITION_FOR_METHOD_DECLARATION 
31[[#616551e0]]
prefIndentBracesForArrays 
32[[#616551e0]]
prefIndentBracesForTypes 
41[[#61654fe0]]
FORMATTER_BRACE_POSITION_FOR_ARRAY_INITIALIZER 
42[[#61654fe0]]
FORMATTER_BRACE_POSITION_FOR_TYPE_DECLARATION