Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
7 | 2 | 3 | 0.981 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 7 | 40 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/NullLiteral.java |
2 | 7 | 57 | plugins/org.eclipse.jdt.core/eval/org/eclipse/jdt/internal/eval/CodeSnippetThisReference.java |
| ||||
/** * Code generation for the null literal * * @param currentScope org.eclipse.jdt.internal.compiler.lookup.BlockScope * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream * @param valueRequired boolean */ public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) { int pc = codeStream.position; if (valueRequired) { codeStream.aconst_null(); codeStream.generateImplicitConversion(this.implicitConversion); } codeStream.recordPositionsFrom(pc, this.sourceStart); } |
| ||||
public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) { int pc = codeStream.position; if (valueRequired) { codeStream.aload_0(); codeStream.getfield(this.delegateThis); } codeStream.recordPositionsFrom(pc, this.sourceStart); } |
| |||
/** * Code generation for the null literal * * @param currentScope org.eclipse.jdt.internal.compiler.lookup.BlockScope * @param codeStream org.eclipse.jdt.internal.compiler.codegen.CodeStream * @param valueRequired boolean */ public void generateCode(BlockScope currentScope, CodeStream codeStream, boolean valueRequired) { int pc = codeStream.position; if (valueRequired) { codeStream. [[#variable53e89020]](); codeStream. [[#variable53e88fa0]](this. [[#variable53e88f20]]); } codeStream.recordPositionsFrom(pc, this.sourceStart); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#53e89020]] | aload_0 |
1 | 2 | [[#53e89020]] | aconst_null |
2 | 1 | [[#53e88fa0]] | getfield |
2 | 2 | [[#53e88fa0]] | generateImplicitConversion |
3 | 1 | [[#53e88f20]] | delegateThis |
3 | 2 | [[#53e88f20]] | implicitConversion |