Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
10 | 2 | 2 | 0.993 | statement_sequence[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 112 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/FieldNameProcessor.java |
2 | 10 | 118 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/contentassist/VariableNamesProcessor.java |
| ||||
Image image = fImageRegistry.get(imageDescriptor); for (int i = 0; i < fFieldNameProposals.length; i++) { String tempName = fFieldNameProposals[i]; if (tempName.length() == 0 || ! tempName.startsWith(prefix)) continue ; JavaCompletionProposal proposal = new JavaCompletionProposal(tempName, 0, input.length(), image, tempName, 0); proposals.add(proposal); } fErrorMessage = proposals.size() > 0 ? null: JavaUIMessages.JavaEditor_codeassist_noCompletions; return (ICompletionProposal[]) proposals.toArray(new ICompletionProposal[proposals.size()]); |
| ||||
Image image = fImageRegistry.get(fProposalImageDescriptor); for (int i = 0; i < fTempNameProposals.length; i++) { String tempName = fTempNameProposals[i]; if (tempName.length() == 0 || ! tempName.startsWith(prefix)) continue ; JavaCompletionProposal proposal = new JavaCompletionProposal(tempName, 0, input.length(), image, tempName, 0); proposals.add(proposal); } fErrorMessage = proposals.size() > 0 ? null: JavaUIMessages.JavaEditor_codeassist_noCompletions; return (ICompletionProposal[]) proposals.toArray(new ICompletionProposal[proposals.size()]); |
| |||
Image image = fImageRegistry.get( [[#variable5a685420]]); for (int i = 0; i < [[#variable5a685400]].length; i++) { String tempName = [[#variable5a685400]][i]; if (tempName.length() == 0 || !tempName.startsWith(prefix)) continue ; JavaCompletionProposal proposal = new JavaCompletionProposal(tempName, 0, input.length(), image, tempName, 0); proposals.add(proposal); } fErrorMessage = proposals.size() > 0 ? null: JavaUIMessages.JavaEditor_codeassist_noCompletions; return (ICompletionProposal[]) proposals.toArray(new ICompletionProposal[proposals.size()]); |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#5a685420]] | fProposalImageDescriptor |
1 | 2 | [[#5a685420]] | imageDescriptor |
2 | 1 | [[#5a685400]] | fTempNameProposals |
2 | 2 | [[#5a685400]] | fFieldNameProposals |