Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 1 | 0.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 308 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java |
2 | 8 | 322 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/CompletionProposalCategory.java |
| ||||
/** * Notifies the computers in this category of a proposal computation session start. */ public void sessionStarted() { List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors()); for (Iterator it = descriptors.iterator(); it.hasNext();) { CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next(); if (desc.getCategory() == this ) desc.sessionStarted(); if (fLastError == null) fLastError = desc.getErrorMessage(); } } |
| ||||
/** * Notifies the computers in this category of a proposal computation session end. */ public void sessionEnded() { List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors()); for (Iterator it = descriptors.iterator(); it.hasNext();) { CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next(); if (desc.getCategory() == this ) desc.sessionEnded(); if (fLastError == null) fLastError = desc.getErrorMessage(); } } |
| |||
/** * Notifies the computers in this category of a proposal computation session start. */ /** * Notifies the computers in this category of a proposal computation session end. */ public void [[#variable951b4000]]() { List descriptors = new ArrayList(fRegistry.getProposalComputerDescriptors()); for (Iterator it = descriptors.iterator(); it.hasNext();) { CompletionProposalComputerDescriptor desc = (CompletionProposalComputerDescriptor) it.next(); if (desc.getCategory() == this ) desc. [[#variable951b4000]](); if (fLastError == null) fLastError = desc.getErrorMessage(); } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#951b4000]] | sessionStarted |
1 | 2 | [[#951b4000]] | sessionEnded |