| Previous CloneSet | Next CloneSet | Back to Main Report |
| Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
|---|---|---|---|---|
| 6 | 2 | 0 | 1.000 | statement_sequence_member |
| Clone Abstraction | Parameter Bindings |
| Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
|---|---|---|---|
| 1 | 6 | 183 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java |
| 2 | 6 | 207 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java |
| ||||
// from 1.4 on, local type constructor can lose their private flag to ease emulation
if ((declaringClass.tagBits& TagBits.IsLocalType) != 0 && currentScope.compilerOptions().complianceLevel >= ClassFileConstants.JDK1_4) {
// constructor will not be dumped as private, no emulation required thus
this.codegenBinding.tagBits |= TagBits.ClearPrivateModifier;
}
else {
syntheticAccessor = ((SourceTypeBinding) declaringClass).addSyntheticMethod(this.codegenBinding, isSuperAccess());
currentScope.problemReporter().needToEmulateMethodAccess(this.codegenBinding, this );
}
|
| ||||
// from 1.4 on, local type constructor can lose their private flag to ease emulation
if ((declaringClass.tagBits& TagBits.IsLocalType) != 0 && currentScope.compilerOptions().complianceLevel >= ClassFileConstants.JDK1_4) {
// constructor will not be dumped as private, no emulation required thus
this.codegenBinding.tagBits |= TagBits.ClearPrivateModifier;
}
else {
syntheticAccessor = ((SourceTypeBinding) declaringClass).addSyntheticMethod(this.codegenBinding, isSuperAccess());
currentScope.problemReporter().needToEmulateMethodAccess(this.codegenBinding, this );
}
|
| |||
// from 1.4 on, local type constructor can lose their private flag to ease emulation
if ((declaringClass.tagBits&TagBits.IsLocalType) != 0 && currentScope.compilerOptions().complianceLevel >= ClassFileConstants.JDK1_4) {
// constructor will not be dumped as private, no emulation required thus
this.codegenBinding.tagBits |= TagBits.ClearPrivateModifier;
}
else {
syntheticAccessor = ((SourceTypeBinding) declaringClass).addSyntheticMethod(this.codegenBinding, isSuperAccess());
currentScope.problemReporter().needToEmulateMethodAccess(this.codegenBinding, this );
}
|
| CloneAbstraction |
| Parameter Index | Clone Instance | Parameter Name | Value |
|---|---|---|---|
| None | |||