CloneSet1734


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
13230.969class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
113438
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java
213456
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java
Clone Instance
1
Line Count
13
Source Line
438
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java

        /*
         * @see ICompletionProposal#getAdditionalProposalInfo()
         */
        public String getAdditionalProposalInfo() {
                if (getProposalInfo() != null) {
                        String info = getProposalInfo().getInfo(null);
                        if (info != null && info.length() > 0) {
                                StringBuffer buffer = new StringBuffer();
                                HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheetURL());
                                buffer.append(info);
                                HTMLPrinter.addPageEpilog(buffer);
                                info = buffer.toString();
                        }
                        return info;
                }
                return null;
        }


Clone Instance
2
Line Count
13
Source Line
456
Source File
plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java

        /*
         * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension5#getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor)
         */
        public Object getAdditionalProposalInfo(IProgressMonitor monitor) {
                if (getProposalInfo() != null) {
                        String info = getProposalInfo().getInfo(monitor);
                        if (info != null && info.length() > 0) {
                                StringBuffer buffer = new StringBuffer();
                                HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheetURL());
                                buffer.append(info);
                                HTMLPrinter.addPageEpilog(buffer);
                                info = buffer.toString();
                        }
                        return info;
                }
                return null;
        }


Clone AbstractionParameter Count: 3Parameter Bindings

/*
         * @see ICompletionProposal#getAdditionalProposalInfo()
         */
/*
         * @see org.eclipse.jface.text.contentassist.ICompletionProposalExtension5#getAdditionalProposalInfo(org.eclipse.core.runtime.IProgressMonitor)
         */
public [[#variableb2555a40]] getAdditionalProposalInfo [[#variableb25559c0]]{
  if (getProposalInfo() != null) {
    String info = getProposalInfo().getInfo( [[#variableb2555940]]);
    if (info != null && info.length() > 0) {
      StringBuffer buffer = new StringBuffer();
      HTMLPrinter.insertPageProlog(buffer, 0, getStyleSheetURL());
      buffer.append(info);
      HTMLPrinter.addPageEpilog(buffer);
      info = buffer.toString();
    }
    return info;
  }
  return null;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b2555a40]]
String 
12[[#b2555a40]]
Object 
21[[#b25559c0]]
() 
22[[#b25559c0]]
(IProgressMonitor monitor) 
31[[#b2555940]]
null 
32[[#b2555940]]
monitor