| 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.990 | primary |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 13 | 368 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java |
| 2 | 13 | 392 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java |
| ||||
buffer
.append("{") //$NON-NLS-1$
.append(
((modifiers& ClassFileConstants.AccDeprecated) != 0 ? "deprecated ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0001) == 1 ? "public ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0002) == 0x0002 ? "private ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0004) == 0x0004 ? "protected ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0008) == 0x000008 ? "static ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0010) == 0x0010 ? "final ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0040) == 0x0040 ? "volatile ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0080) == 0x0080 ? "transient ": "")) //$NON-NLS-1$ //$NON-NLS-2$
.append(getTypeName())
.append(" ") //$NON-NLS-1$
|
| ||||
buffer
.append("{") //$NON-NLS-1$
.append(
((modifiers& ClassFileConstants.AccDeprecated) != 0 ? "deprecated ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0001) == 1 ? "public ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0002) == 0x0002 ? "private ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0004) == 0x0004 ? "protected ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0008) == 0x000008 ? "static ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0010) == 0x0010 ? "final ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0040) == 0x0040 ? "bridge ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers& 0x0080) == 0x0080 ? "varargs ": "")) //$NON-NLS-1$ //$NON-NLS-2$
.append(getSelector())
.append(desc)
|
| |||
buffer.append("{") //$NON-NLS-1$
.append(((modifiers&ClassFileConstants.AccDeprecated) != 0 ? "deprecated ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0001) == 1 ? "public ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0002) == 0x0002 ? "private ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0004) == 0x0004 ? "protected ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0008) == 0x000008 ? "static ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0010) == 0x0010 ? "final ": "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0040) == 0x0040 ? [[#variable53384d20]]: "") //$NON-NLS-1$ //$NON-NLS-2$
+ ((modifiers&0x0080) == 0x0080 ? [[#variable53384c60]]: "")) //$NON-NLS-1$ //$NON-NLS-2$
.append( [[#variable533846a0]]()).append( [[#variable53384ce0]]) //$NON-NLS-1$
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#53384d20]] | "volatile " |
| 1 | 2 | [[#53384d20]] | "bridge " |
| 2 | 1 | [[#53384c60]] | "transient " |
| 2 | 2 | [[#53384c60]] | "varargs " |
| 3 | 1 | [[#533846a0]] | getTypeName |
| 3 | 2 | [[#533846a0]] | getSelector |
| 4 | 1 | [[#53384ce0]] | " " |
| 4 | 2 | [[#53384ce0]] | desc |