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.953 | statement_sequence[3] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 13 | 196 | plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java |
2 | 13 | 345 | plugins/org.eclipse.jdt.core/antadapter/org/eclipse/jdt/core/JDTCompilerAdapter.java |
| ||||
try { getDebugLevelMethod = javacClass.getMethod("getDebugLevel", null); //$NON-NLS-1$ } catch (NoSuchMethodException e) { // if not found, then we cannot use this method (ant 1.5) // debug level is only available with ant 1.5.x } String debugLevel = null; if (getDebugLevelMethod != null) { try { debugLevel = (String) getDebugLevelMethod.invoke(this.attributes, null); } catch (IllegalAccessException e) { // should never happen } catch (InvocationTargetException e) { // should never happen } } |
| ||||
try { getCurrentCompilerArgsMethod = javacClass.getMethod("getCurrentCompilerArgs", null); //$NON-NLS-1$ } catch (NoSuchMethodException e) { // if not found, then we cannot use this method (ant 1.5) // debug level is only available with ant 1.5.x } String[] compilerArgs = null; if (getCurrentCompilerArgsMethod != null) { try { compilerArgs = (String[]) getCurrentCompilerArgsMethod.invoke(this.attributes, null); } catch (IllegalAccessException e) { // should never happen } catch (InvocationTargetException e) { // should never happen } } |
| |||
try { [[#variable97ef6620]]= javacClass.getMethod( [[#variable97ef6580]], null); //$NON-NLS-1$ } catch (NoSuchMethodException e) { // if not found, then we cannot use this method (ant 1.5) // debug level is only available with ant 1.5.x } String [[#variable97ef6560]] [[#variableb112e6e0]]= null; if ( [[#variable97ef6620]]!= null) { try { [[#variableb112e6e0]]= (String [[#variable97ef6560]]) [[#variable97ef6620]].invoke(this.attributes, null); } catch (IllegalAccessException e) { // should never happen } catch (InvocationTargetException e) { // should never happen } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#97ef6620]] | getCurrentCompilerArgsMethod |
1 | 2 | [[#97ef6620]] | getDebugLevelMethod |
2 | 1 | [[#97ef6580]] | "getCurrentCompilerArgs" |
2 | 2 | [[#97ef6580]] | "getDebugLevel" |
3 | 1 | [[#97ef6560]] | [] |
3 | 2 | [[#97ef6560]] | |
4 | 1 | [[#b112e6e0]] | compilerArgs |
4 | 2 | [[#b112e6e0]] | debugLevel |