Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 6 | 0.956 | class_body_declarations[4] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 81 | plugins/org.eclipse.jdt.ui/core refactoring/org/eclipse/jdt/internal/corext/refactoring/base/JavaStatusContext.java |
2 | 12 | 107 | 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; } |
| ||||
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; } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a399db40]] | ClassFileSourceContext |
1 | 2 | [[#a399db40]] | CompilationUnitSourceContext |
2 | 1 | [[#a399daa0]] | IClassFile |
2 | 2 | [[#a399daa0]] | ICompilationUnit |
3 | 1 | [[#a399da00]] | classFile |
3 | 2 | [[#a399da00]] | cunit |
4 | 1 | [[#a4f09a00]] | fClassFile |
4 | 2 | [[#a4f09a00]] | fCUnit |
5 | 1 | [[#a399c560]] | true |
5 | 2 | [[#a399c560]] | false |
6 | 1 | [[#a399d9c0]] | null |
6 | 2 | [[#a399d9c0]] | fCUnit |