Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
6 | 2 | 2 | 0.957 | method_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 6 | 438 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/NameSpace.java |
2 | 6 | 451 | E:/TSE/Projects-CloneDR/jEdit-4.2/src/bsh/NameSpace.java |
| |||||
/** Get the parent namespace' This reference or this namespace' This reference if we are the top. */ public This getSuper(Interpreter declaringInterpreter) { if (parent != null) return parent.getThis(declaringInterpreter); else return getThis(declaringInterpreter); } |
| |||||
/** Get the top level namespace or this namespace if we are the top. Note: this method should probably return type bsh.This to be consistent with getThis(); */ public This getGlobal(Interpreter declaringInterpreter) { if (parent != null) return parent.getGlobal(declaringInterpreter); else return getThis(declaringInterpreter); } |
| |||
/** Get the top level namespace or this namespace if we are the top. Note: this method should probably return type bsh.This to be consistent with getThis(); */ /** Get the parent namespace' This reference or this namespace' This reference if we are the top. */ public This [[#variablec28fb00]](Interpreter declaringInterpreter) { if (parent != null) return parent. [[#variablec28fa80]](declaringInterpreter); else return getThis(declaringInterpreter); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#c28fb00]] | getSuper |
1 | 2 | [[#c28fb00]] | getGlobal |
2 | 1 | [[#c28fa80]] | getThis |
2 | 2 | [[#c28fa80]] | getGlobal |