| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 10 | 5 | 1 | 0.983 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 10 | 1407 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/snippeteditor/JavaSnippetEditor.java |
| 2 | 9 | 217 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/PackagesView.java |
| 3 | 10 | 76 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/ProjectsView.java |
| 4 | 10 | 66 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/browsing/TypesView.java |
| 5 | 10 | 96 | plugins/org.eclipse.jdt.ui/ui/org/eclipse/jdt/internal/ui/propertiesfileeditor/PropertiesFileEditor.java |
| ||||
/* (non-Javadoc)
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
public Object getAdapter(Class required) {
if (required == IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter(required);
}
|
| ||||
/**
* Answer the property defined by key.
*/
public Object getAdapter(Class key) {
if (key == IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter(key);
}
|
| ||||
/**
* Answer the property defined by key.
*/
public Object getAdapter(Class key) {
if (key == IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter(key);
}
|
| ||||
/**
* Answer the property defined by key.
*/
public Object getAdapter(Class key) {
if (key == IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter(key);
}
|
| ||||
/*
* @see org.eclipse.ui.editors.text.TextEditor#getAdapter(java.lang.Class)
*/
public Object getAdapter(Class adapter) {
if (adapter == IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES, IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter(adapter);
}
|
| |||
/**
* Answer the property defined by key.
*/
/*
* @see org.eclipse.ui.editors.text.TextEditor#getAdapter(java.lang.Class)
*/
/* (non-Javadoc)
* @see org.eclipse.core.runtime.IAdaptable#getAdapter(java.lang.Class)
*/
public Object getAdapter(Class [[#variablebaebcb40]]) {
if ( [[#variablebaebcb40]]== IShowInTargetList.class ) {
return new IShowInTargetList() {
public String[] getShowInTargetIds() {
return new String[] {
JavaUI.ID_PACKAGES,
IPageLayout.ID_RES_NAV
};
}
};
}
return super.getAdapter( [[#variablebaebcb40]]);
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#baebcb40]] | key |
| 1 | 2 | [[#baebcb40]] | adapter |
| 1 | 3 | [[#baebcb40]] | required |
| 1 | 4 | [[#baebcb40]] | key |
| 1 | 5 | [[#baebcb40]] | key |