CloneSet1953


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10220.989class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11160
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java
21072
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java
Clone Instance
1
Line Count
11
Source Line
60
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AbstractMethodDeclaration.java

        /*
         *      We cause the compilation task to abort to a given extent.
         */
        public void abort(int abortLevel, CategorizedProblem problem) {

                switch (abortLevel) {
                        case AbortCompilation:
                                throw new AbortCompilation(this.compilationResult, problem);
                        case AbortCompilationUnit:
                                throw new AbortCompilationUnit(this.compilationResult, problem);
                        case AbortType:
                                throw new AbortType(this.compilationResult, problem);
                        default:
                                throw new AbortMethod(this.compilationResult, problem);
                      }
        }


Clone Instance
2
Line Count
10
Source Line
72
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/TypeDeclaration.java

/*
 *      We cause the compilation task to abort to a given extent.
 */
public void abort(int abortLevel, CategorizedProblem problem) {
        switch (abortLevel) {
                case AbortCompilation:
                        throw new AbortCompilation(this.compilationResult, problem);
                case AbortCompilationUnit:
                        throw new AbortCompilationUnit(this.compilationResult, problem);
                case AbortMethod:
                        throw new AbortMethod(this.compilationResult, problem);
                default:
                        throw new AbortType(this.compilationResult, problem);
              }
}


Clone AbstractionParameter Count: 2Parameter Bindings

/*
 *      We cause the compilation task to abort to a given extent.
 */
/*
         *      We cause the compilation task to abort to a given extent.
         */
public void abort(int abortLevel, CategorizedProblem problem) {
  switch (abortLevel) {
    case AbortCompilation:
      throw new AbortCompilation(this.compilationResult, problem);
    case AbortCompilationUnit:
      throw new AbortCompilationUnit(this.compilationResult, problem);
    case [[#variable5b8dd540]]:
      throw new [[#variable5b8dd540]](this.compilationResult, problem);
    default:
      throw new [[#variable5b8dd4c0]](this.compilationResult, problem);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#5b8dd540]]
AbortMethod 
12[[#5b8dd540]]
AbortType 
21[[#5b8dd4c0]]
AbortType 
22[[#5b8dd4c0]]
AbortMethod