CloneSet3729


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6210.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16169
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeCorrectionProposal.java
26194
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java
Clone Instance
1
Line Count
6
Source Line
169
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/ChangeCorrectionProposal.java

        /*
         * @see ICompletionProposal#getDisplayString()
         */
        public String getDisplayString() {
                String shortCutString = CorrectionCommandHandler.getShortCutString(getCommandId());
                if (shortCutString != null) {
                        return Messages.format(CorrectionMessages.ChangeCorrectionProposal_name_with_shortcut, new String[] {
                                                                                                                              fName, shortCutString
                                                                                                                            } );
                }
                return fName;
        }


Clone Instance
2
Line Count
6
Source Line
194
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/correction/LinkedNamesAssistProposal.java

        /*
         * @see ICompletionProposal#getDisplayString()
         */
        public String getDisplayString() {
                String shortCutString = CorrectionCommandHandler.getShortCutString(getCommandId());
                if (shortCutString != null) {
                        return Messages.format(CorrectionMessages.ChangeCorrectionProposal_name_with_shortcut, new String[] {
                                                                                                                              fLabel, shortCutString
                                                                                                                            } );
                }
                return fLabel;
        }


Clone AbstractionParameter Count: 1Parameter Bindings

/*
         * @see ICompletionProposal#getDisplayString()
         */
public String getDisplayString() {
  String shortCutString = CorrectionCommandHandler.getShortCutString(getCommandId());
  if (shortCutString != null) {
    return Messages.format(CorrectionMessages.ChangeCorrectionProposal_name_with_shortcut, new String[] {
                                                                                                           [[#variableb2455d80]],
                                                                                                          shortCutString
                                                                                                        } );
  }
  return [[#variableb2455d80]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2455d80]]
fLabel 
12[[#b2455d80]]
fName