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.991 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 10 | 59 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/WildcardType.java |
2 | 10 | 71 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/types/WildcardType.java |
| ||||
// protected abstract boolean checkTypeArgumentBound(TType rhs); protected String internalGetName(String keyword) { StringBuffer result = new StringBuffer("?"); //$NON-NLS-1$ TType bound = getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound.getName()); } return result.toString(); } |
| ||||
protected String internalGetPrettySignature(String keyword) { StringBuffer result = new StringBuffer("?"); //$NON-NLS-1$ TType bound = getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound.getPlainPrettySignature()); } return result.toString(); } |
| |||
// protected abstract boolean checkTypeArgumentBound(TType rhs); protected String [[#variablea0c163a0]](String keyword) { StringBuffer result = new StringBuffer("?"); //$NON-NLS-1$ TType bound = getBound(); if (bound != null) { result.append(" "); //$NON-NLS-1$ result.append(keyword); result.append(" "); //$NON-NLS-1$ result.append(bound. [[#variablea0c162a0]]()); } return result.toString(); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a0c163a0]] | internalGetName |
1 | 2 | [[#a0c163a0]] | internalGetPrettySignature |
2 | 1 | [[#a0c162a0]] | getName |
2 | 2 | [[#a0c162a0]] | getPlainPrettySignature |