| 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.953 | statement_sequence[9] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 115 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.java |
| 2 | 13 | 180 | plugins/org.eclipse.jdt.ui/core extension/org/eclipse/jdt/internal/corext/codemanipulation/GetterSetterUtil.java |
| ||||
buf.append(JdtFlags.getVisibilityString(flags));
buf.append(' ');
if (isStatic)
buf.append("static "); //$NON-NLS-1$
if (isSync)
buf.append("synchronized "); //$NON-NLS-1$
if (isFinal)
buf.append("final "); //$NON-NLS-1$
buf.append("void "); //$NON-NLS-1$
buf.append(setterName);
buf.append('(');
buf.append(typeName);
|
| ||||
buf.append(JdtFlags.getVisibilityString(flags));
buf.append(' ');
if (isStatic)
buf.append("static "); //$NON-NLS-1$
if (isSync)
buf.append("synchronized "); //$NON-NLS-1$
if (isFinal)
buf.append("final "); //$NON-NLS-1$
buf.append(typeName);
buf.append(' ');
buf.append(getterName);
buf.append("() {"); //$NON-NLS-1$
|
| |||
buf.append(JdtFlags.getVisibilityString(flags));
buf.append(' ');
if (isStatic)
buf.append("static "); //$NON-NLS-1$
if (isSync)
buf.append("synchronized "); //$NON-NLS-1$
if (isFinal)
buf.append("final "); //$NON-NLS-1$ //$NON-NLS-1$
buf.append( [[#variable9cbb85c0]]); //$NON-NLS-1$
buf.append( [[#variablea33e7dc0]]);
buf.append( [[#variable9cbb8540]]);
buf.append( [[#variable563386e0]]); //$NON-NLS-1$
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#9cbb85c0]] | typeName |
| 1 | 2 | [[#9cbb85c0]] | "void " |
| 2 | 1 | [[#a33e7dc0]] | ' ' |
| 2 | 2 | [[#a33e7dc0]] | setterName |
| 3 | 1 | [[#9cbb8540]] | getterName |
| 3 | 2 | [[#9cbb8540]] | '(' |
| 4 | 1 | [[#563386e0]] | "() {" |
| 4 | 2 | [[#563386e0]] | typeName |