| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 6 | 2 | 0.973 | block |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 133 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| 2 | 8 | 143 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| 3 | 8 | 153 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| 4 | 8 | 163 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| 5 | 8 | 173 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| 6 | 8 | 183 | plugins/org.eclipse.jdt.apt.core/src/org/eclipse/jdt/apt/core/internal/env/MessagerImpl.java |
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
printError(pos, msg, new String[] {
pluginId, errorId
} );
}
|
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
printWarning(pos, msg, new String[] {
pluginId, errorId
} );
}
|
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
printNotice(pos, msg, new String[] {
pluginId, errorId
} );
}
|
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
print(Severity.ERROR, msg, new String[] {
pluginId, errorId
} );
}
|
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
print(Severity.WARNING, msg, new String[] {
pluginId, errorId
} );
}
|
| ||||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
print(Severity.INFO, msg, new String[] {
pluginId, errorId
} );
}
|
| |||
{
if (pluginId == null) {
throw new IllegalArgumentException("pluginId cannot be null"); //$NON-NLS-1$
}
if (errorId == null) {
throw new IllegalArgumentException("errorId cannot be null"); //$NON-NLS-1$
}
[[#variableb6691aa0]]( [[#variableb6691a20]], msg, new String[] {
pluginId,
errorId
} );
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#b6691aa0]] | |
| 1 | 2 | [[#b6691aa0]] | |
| 1 | 3 | [[#b6691aa0]] | |
| 1 | 4 | [[#b6691aa0]] | printNotice |
| 1 | 5 | [[#b6691aa0]] | printWarning |
| 1 | 6 | [[#b6691aa0]] | printError |
| 2 | 1 | [[#b6691a20]] | Severity.INFO |
| 2 | 2 | [[#b6691a20]] | Severity.WARNING |
| 2 | 3 | [[#b6691a20]] | Severity.ERROR |
| 2 | 4 | [[#b6691a20]] | pos |
| 2 | 5 | [[#b6691a20]] | pos |
| 2 | 6 | [[#b6691a20]] | pos |