Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 3 | 0.969 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 438 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/AbstractJavaCompletionProposal.java |
2 | 13 | 456 | 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; } |
| ||||
/* * @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; } |
| |||
/* * @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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b2555a40]] | String |
1 | 2 | [[#b2555a40]] | Object |
2 | 1 | [[#b25559c0]] | () |
2 | 2 | [[#b25559c0]] | (IProgressMonitor monitor) |
3 | 1 | [[#b2555940]] | null |
3 | 2 | [[#b2555940]] | monitor |