Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
25 | 2 | 2 | 0.985 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 25 | 26 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaNoTypeCompletionProposalComputer.java |
2 | 25 | 42 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/text/java/JavaTypeCompletionProposalComputer.java |
| ||||
/* * @see org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer#createCollector(org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext) */ protected CompletionProposalCollector createCollector(JavaContentAssistInvocationContext context) { CompletionProposalCollector collector = super.createCollector(context); collector.setIgnored(CompletionProposal.ANNOTATION_ATTRIBUTE_REF, false); collector.setIgnored(CompletionProposal.ANONYMOUS_CLASS_DECLARATION, false); collector.setIgnored(CompletionProposal.FIELD_REF, false); collector.setIgnored(CompletionProposal.KEYWORD, false); collector.setIgnored(CompletionProposal.LABEL_REF, false); collector.setIgnored(CompletionProposal.LOCAL_VARIABLE_REF, false); collector.setIgnored(CompletionProposal.METHOD_DECLARATION, false); collector.setIgnored(CompletionProposal.METHOD_NAME_REFERENCE, false); collector.setIgnored(CompletionProposal.METHOD_REF, false); collector.setIgnored(CompletionProposal.PACKAGE_REF, false); collector.setIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION, false); collector.setIgnored(CompletionProposal.VARIABLE_DECLARATION, false); collector.setIgnored(CompletionProposal.JAVADOC_BLOCK_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_FIELD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_INLINE_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_METHOD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_PARAM_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_TYPE_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_VALUE_REF, true); collector.setIgnored(CompletionProposal.TYPE_REF, true); return collector; } |
| ||||
/* * @see org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer#createCollector(org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext) */ protected CompletionProposalCollector createCollector(JavaContentAssistInvocationContext context) { CompletionProposalCollector collector = super.createCollector(context); collector.setIgnored(CompletionProposal.ANNOTATION_ATTRIBUTE_REF, true); collector.setIgnored(CompletionProposal.ANONYMOUS_CLASS_DECLARATION, true); collector.setIgnored(CompletionProposal.FIELD_REF, true); collector.setIgnored(CompletionProposal.KEYWORD, true); collector.setIgnored(CompletionProposal.LABEL_REF, true); collector.setIgnored(CompletionProposal.LOCAL_VARIABLE_REF, true); collector.setIgnored(CompletionProposal.METHOD_DECLARATION, true); collector.setIgnored(CompletionProposal.METHOD_NAME_REFERENCE, true); collector.setIgnored(CompletionProposal.METHOD_REF, true); collector.setIgnored(CompletionProposal.PACKAGE_REF, true); collector.setIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION, true); collector.setIgnored(CompletionProposal.VARIABLE_DECLARATION, true); collector.setIgnored(CompletionProposal.JAVADOC_BLOCK_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_FIELD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_INLINE_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_METHOD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_PARAM_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_TYPE_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_VALUE_REF, true); collector.setIgnored(CompletionProposal.TYPE_REF, false); return collector; } |
| |||
/* * @see org.eclipse.jdt.internal.ui.text.java.JavaCompletionProposalComputer#createCollector(org.eclipse.jdt.ui.text.java.JavaContentAssistInvocationContext) */ protected CompletionProposalCollector createCollector(JavaContentAssistInvocationContext context) { CompletionProposalCollector collector = super.createCollector(context); collector.setIgnored(CompletionProposal.ANNOTATION_ATTRIBUTE_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.ANONYMOUS_CLASS_DECLARATION, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.FIELD_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.KEYWORD, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.LABEL_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.LOCAL_VARIABLE_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.METHOD_DECLARATION, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.METHOD_NAME_REFERENCE, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.METHOD_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.PACKAGE_REF, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.POTENTIAL_METHOD_DECLARATION, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.VARIABLE_DECLARATION, [[#variableb7113de0]]); collector.setIgnored(CompletionProposal.JAVADOC_BLOCK_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_FIELD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_INLINE_TAG, true); collector.setIgnored(CompletionProposal.JAVADOC_METHOD_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_PARAM_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_TYPE_REF, true); collector.setIgnored(CompletionProposal.JAVADOC_VALUE_REF, true); collector.setIgnored(CompletionProposal.TYPE_REF, [[#variableb7113dc0]]); return collector; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b7113de0]] | true |
1 | 2 | [[#b7113de0]] | false |
2 | 1 | [[#b7113dc0]] | false |
2 | 2 | [[#b7113dc0]] | true |