| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 8 | 2 | 1 | 0.988 | class_body_declaration |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 8 | 816 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/QualifiedNameReference.java |
| 2 | 8 | 653 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/SingleNameReference.java |
| ||||
public void manageEnclosingInstanceAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
if ((flowInfo.tagBits& FlowInfo.UNREACHABLE) == 0) {
//If inlinable field, forget the access emulation, the code gen will directly target it
if (((bits& DepthMASK) == 0) || (constant != Constant.NotAConstant)) {
return;
}
if ((bits& RestrictiveFlagMASK) == Binding.LOCAL) {
currentScope.emulateOuterAccess((LocalVariableBinding) binding);
}
}
}
|
| ||||
public void manageEnclosingInstanceAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
if ((flowInfo.tagBits& FlowInfo.UNREACHABLE) == 0) {
//If inlinable field, forget the access emulation, the code gen will directly target it
if (((bits& DepthMASK) == 0) || (constant != Constant.NotAConstant)) return;
if ((bits& RestrictiveFlagMASK) == Binding.LOCAL) {
currentScope.emulateOuterAccess((LocalVariableBinding) binding);
}
}
}
|
| |||
public void manageEnclosingInstanceAccessIfNecessary(BlockScope currentScope, FlowInfo flowInfo) {
if ((flowInfo.tagBits&FlowInfo.UNREACHABLE) == 0) {
//If inlinable field, forget the access emulation, the code gen will directly target it
if (((bits&DepthMASK) == 0) || (constant != Constant.NotAConstant))
[[#variable77515f20]]
if ((bits&RestrictiveFlagMASK) == Binding.LOCAL) {
currentScope.emulateOuterAccess((LocalVariableBinding) binding);
}
}
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| 1 | 1 | [[#77515f20]] | return; |
| 1 | 2 | [[#77515f20]] | {
return;
} |