CloneSet1390


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
8210.992class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1834
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java
2845
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java
Clone Instance
1
Line Count
8
Source Line
34
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java

        public char [][] getParameterizedTypeName() {
        switch (this.kind) {
            case Wildcard.UNBOUND:
               return new char[][] {
                                     WILDCARD_NAME
                                   };
            case Wildcard.EXTENDS:
                return new char[][] {
                                      CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound.getParameterizedTypeName(), '.'))
                                    };
                        default: // SUPER
                return new char[][] {
                                      CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound.getParameterizedTypeName(), '.'))
                                    };
          }
        }


Clone Instance
2
Line Count
8
Source Line
45
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/Wildcard.java

        public char [][] getTypeName() {
        switch (this.kind) {
            case Wildcard.UNBOUND:
               return new char[][] {
                                     WILDCARD_NAME
                                   };
            case Wildcard.EXTENDS:
                return new char[][] {
                                      CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound.getTypeName(), '.'))
                                    };
                        default: // SUPER
                return new char[][] {
                                      CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound.getTypeName(), '.'))
                                    };
          }
        }


Clone AbstractionParameter Count: 1Parameter Bindings

public char[][]  [[#variableb83a0ce0]]() {
  switch (this.kind) {
    case Wildcard.UNBOUND:
      return new char[][] {
                            WILDCARD_NAME
                          };
    case Wildcard.EXTENDS:
      return new char[][] {
                            CharOperation.concat(WILDCARD_NAME, WILDCARD_EXTENDS, CharOperation.concatWith(this.bound. [[#variableb83a0ce0]](), '.'))
                          };
    default: // SUPER
      return new char[][] {
                            CharOperation.concat(WILDCARD_NAME, WILDCARD_SUPER, CharOperation.concatWith(this.bound. [[#variableb83a0ce0]](), '.'))
                          };
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#b83a0ce0]]
getParameterizedTypeName 
12[[#b83a0ce0]]
getTypeName