if (interfaces != null && interfaces.length > 0) { interfaceCount = interfaces.length; this.interfaces = new int[interfaceCount]; for (int i = 0; i < interfaceCount; ++i) { this.interfaces[i] = newClass(interfaces[i]).index;
if (exceptions != null && exceptions.length > 0) { exceptionCount = exceptions.length; this.exceptions = new int[exceptionCount]; for (int i = 0; i < exceptionCount; ++i) { this.exceptions[i] = cw.newClass(exceptions[i]).index;
Clone fragments detected by clone detection tool
File path: /jEdit-4.2/src/org/objectweb/asm/ClassWriter.java File path: /jEdit-4.2/src/org/objectweb/asm/CodeWriter.java
Method name: Method name:
Number of AST nodes: 0 Number of AST nodes: 0
1
if (interfaces != null && interfaces.length > 0) {
1
if (exceptions != null && exceptions.length > 0) {
2
      interfaceCount = interfaces.length;
2
      exceptionCount = exceptions.length;
3
      this.interfaces = new int[interfaceCount];
3
      this.exceptions = new int[exceptionCount];
4
      for (int i = 0; i < interfaceCount; ++i) {
4
      for (int i = 0; i < exceptionCount; ++i) {
5
        this.interfaces[i] = newClass(interfaces[i]).index;
5
        this.exceptions[i] = cw.newClass(exceptions[i]).index;
6
      
6
      
Summary
Number of common nesting structure subtrees0
Number of refactorable cases0
Number of non-refactorable cases0
Time elapsed for finding largest common nesting structure subtrees (ms)0.0
Clones location
Number of node comparisons0