| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 12 | 2 | 5 | 0.951 | class_body_declarations[3] |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 12 | 27 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/CompilationUnitEntry.java |
| 2 | 12 | 32 | plugins/org.eclipse.jdt.ui/ui refactoring/org/eclipse/jdt/internal/ui/refactoring/nls/search/FileEntry.java |
| ||||
public String getMessage() {
return fMessage;
}
public ICompilationUnit getCompilationUnit() {
return fCompilationUnit;
}
public Object getAdapter(Class adapter) {
if (ICompilationUnit.class .equals(adapter))
return getCompilationUnit();
return null;
}
|
| ||||
public String getMessage() {
return fMessage;
}
public String toString() {
return fMessage;
}
public Object getAdapter(Class adapter) {
if (IResource.class .equals(adapter))
return fPropertiesFile;
return null;
}
|
| |||
public String getMessage() {
return fMessage;
}
public [[#variable77ab26c0]] [[#variable77ab26a0]]() {
return [[#variable61c3cc00]];
}
public Object getAdapter(Class adapter) {
if ( [[#variable77ab2680]].class .equals(adapter))
return [[#variable77ab2340]];
return null;
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#77ab26c0]] | String |
| 1 | 2 | [[#77ab26c0]] | ICompilationUnit |
| 2 | 1 | [[#77ab26a0]] | toString |
| 2 | 2 | [[#77ab26a0]] | getCompilationUnit |
| 3 | 1 | [[#61c3cc00]] | fMessage |
| 3 | 2 | [[#61c3cc00]] | fCompilationUnit |
| 4 | 1 | [[#77ab2680]] | IResource |
| 4 | 2 | [[#77ab2680]] | ICompilationUnit |
| 5 | 1 | [[#77ab2340]] | fPropertiesFile |
| 5 | 2 | [[#77ab2340]] | getCompilationUnit() |