Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 2 | 0.958 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 77 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/optional/native2ascii/KaffeNative2Ascii.java |
2 | 9 | 94 | E:/TSE/Projects-CloneDR/apache-ant-1.7.0/src/org/apache/tools/ant/taskdefs/rmic/KaffeRmic.java |
| |||||
/** * tries to load Kaffe Native2Ascii and falls back to the older * class name if necessary. * * @return null if neither class can get loaded. */ private static Class getN2aClass() { for (int i = 0; i < N2A_CLASSNAMES.length; i++) { try { return Class.forName(N2A_CLASSNAMES[i]); } catch (ClassNotFoundException cnfe) { // Ignore } } return null; } |
| |||||
/** * tries to load Kaffe RMIC and falls back to the older class name * if necessary. * * @return null if neither class can get loaded. */ private static Class getRmicClass() { for (int i = 0; i < RMIC_CLASSNAMES.length; i++) { try { return Class.forName(RMIC_CLASSNAMES[i]); } catch (ClassNotFoundException cnfe) { // Ignore } } return null; } |
| |||
/** * tries to load Kaffe Native2Ascii and falls back to the older * class name if necessary. * * @return null if neither class can get loaded. */ /** * tries to load Kaffe RMIC and falls back to the older class name * if necessary. * * @return null if neither class can get loaded. */ private static Class [[#variable13132140]]() { for (int i = 0; i < [[#variable13132060]].length; i++) { try { return Class.forName( [[#variable13132060]][i]); } catch (ClassNotFoundException cnfe) { // Ignore } } return null; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#13132140]] | getN2aClass |
1 | 2 | [[#13132140]] | getRmicClass |
2 | 1 | [[#13132060]] | N2A_CLASSNAMES |
2 | 2 | [[#13132060]] | RMIC_CLASSNAMES |