CloneSet2893


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11201.000statement_sequence[6]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
111111
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java
211168
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuessingProposal.java
Clone Instance
1
Line Count
11
Source Line
111
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ExperimentalProposal.java

                StringBuffer buffer = new StringBuffer(String.valueOf(fProposal.getName()));

                FormatterPrefs prefs = getFormatterPrefs();
                if (prefs.beforeOpeningParen)
                        buffer.append(SPACE);
                buffer.append(LPAREN);

                setCursorPosition(buffer.length());

                if (prefs.afterOpeningParen)
                        buffer.append(SPACE);


Clone Instance
2
Line Count
11
Source Line
168
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/ParameterGuessingProposal.java

                StringBuffer buffer = new StringBuffer(String.valueOf(fProposal.getName()));

                FormatterPrefs prefs = getFormatterPrefs();
                if (prefs.beforeOpeningParen)
                        buffer.append(SPACE);
                buffer.append(LPAREN);

                setCursorPosition(buffer.length());

                if (prefs.afterOpeningParen)
                        buffer.append(SPACE);


Clone AbstractionParameter Count: 0Parameter Bindings

StringBuffer buffer = new StringBuffer(String.valueOf(fProposal.getName()));
FormatterPrefs prefs = getFormatterPrefs();
if (prefs.beforeOpeningParen)
  buffer.append(SPACE);
buffer.append(LPAREN);
setCursorPosition(buffer.length());
if (prefs.afterOpeningParen)
  buffer.append(SPACE);
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None