Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
13 | 2 | 4 | 0.962 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 47 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/CompositeOrTypeConstraint.java |
2 | 13 | 68 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/typeconstraints/CompositeOrTypeConstraint.java |
| ||||
/* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.refactoring.experiments.ITypeConstraint#toResolvedString() */ public String toResolvedString() { StringBuffer buff = new StringBuffer(); for (int i = 0; i < fConstraints.length; i++) { ITypeConstraint constraint = fConstraints[i]; if (i > 0) buff.append(" or "); //$NON-NLS-1$ buff.append(constraint.toResolvedString()); } return buff.toString(); } /* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.refactoring.experiments.ITypeConstraint#isSimpleTypeConstraint() */ public boolean isSimpleTypeConstraint() { return false; } |
| ||||
/* (non-Javadoc) * @see java.lang.Object#toString() */ public String toString() { StringBuffer buff = new StringBuffer(); for (int i = 0; i < fConstraints.length; i++) { ITypeConstraint constraint = fConstraints[i]; if (i > 0) buff.append(" or "); //$NON-NLS-1$ buff.append(constraint.toString()); } return buff.toString(); } public ITypeConstraint[] getConstraints() { return fConstraints; } |
| |||
/* (non-Javadoc) * @see java.lang.Object#toString() */ /* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.refactoring.experiments.ITypeConstraint#toResolvedString() */ public String [[#variable78a6e960]]() { StringBuffer buff = new StringBuffer(); for (int i = 0; i < fConstraints.length; i++) { ITypeConstraint constraint = fConstraints[i]; if (i > 0) buff.append(" or "); //$NON-NLS-1$ buff.append(constraint. [[#variable78a6e960]]()); } return buff.toString(); } /* (non-Javadoc) * @see org.eclipse.jdt.internal.corext.refactoring.experiments.ITypeConstraint#isSimpleTypeConstraint() */ public [[#variable78a6e900]] [[#variable78a6e8e0]]() { return [[#variable78a6e860]]; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#78a6e960]] | toString |
1 | 2 | [[#78a6e960]] | toResolvedString |
2 | 1 | [[#78a6e900]] | ITypeConstraint[] |
2 | 2 | [[#78a6e900]] | boolean |
3 | 1 | [[#78a6e8e0]] | getConstraints |
3 | 2 | [[#78a6e8e0]] | isSimpleTypeConstraint |
4 | 1 | [[#78a6e860]] | fConstraints |
4 | 2 | [[#78a6e860]] | false |