CloneSet3388


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
12260.956class_body_declarations[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
11281
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JavaStatusContext.java
212107
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JavaStatusContext.java
Clone Instance
1
Line Count
12
Source Line
81
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JavaStatusContext.java

                private ISourceRange fSourceRange;

                private CompilationUnitSourceContext(ICompilationUnit cunit, ISourceRange range) {
                        fCUnit = cunit;
                        fSourceRange = range;
                        if (fSourceRange == null)
                                fSourceRange = new SourceRange(0, 0);
                }

                public boolean isBinary() {
                        return false;
                }

                public ICompilationUnit getCompilationUnit() {
                        return fCUnit;
                }


Clone Instance
2
Line Count
12
Source Line
107
Source File
plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JavaStatusContext.java

                private ISourceRange fSourceRange;

                private ClassFileSourceContext(IClassFile classFile, ISourceRange range) {
                        fClassFile = classFile;
                        fSourceRange = range;
                        if (fSourceRange == null)
                                fSourceRange = new SourceRange(0, 0);
                }

                public boolean isBinary() {
                        return true;
                }

                public ICompilationUnit getCompilationUnit() {
                        return null;
                }


Clone AbstractionParameter Count: 6Parameter Bindings

private ISourceRange fSourceRange;

private [[#variablea399db40]]( [[#variablea399daa0]]  [[#variablea399da00]], ISourceRange range) {
   [[#variablea4f09a00]]= [[#variablea399da00]];
  fSourceRange = range;
  if (fSourceRange == null)
    fSourceRange = new SourceRange(0, 0);
}

public boolean isBinary() {
  return [[#variablea399c560]];
}

public ICompilationUnit getCompilationUnit() {
  return [[#variablea399d9c0]];
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a399db40]]
ClassFileSourceContext 
12[[#a399db40]]
CompilationUnitSourceContext 
21[[#a399daa0]]
IClassFile 
22[[#a399daa0]]
ICompilationUnit 
31[[#a399da00]]
classFile 
32[[#a399da00]]
cunit 
41[[#a4f09a00]]
fClassFile 
42[[#a4f09a00]]
fCUnit 
51[[#a399c560]]
true 
52[[#a399c560]]
false 
61[[#a399d9c0]]
null 
62[[#a399d9c0]]
fCUnit