CloneSet2589


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
6201.000statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16183
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.java
26207
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/ExplicitConstructorCall.java
Clone Instance
1
Line Count
6
Source Line
183
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/ast/AllocationExpression.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 );
                }


Clone Instance
2
Line Count
6
Source Line
207
Source File
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 );
                        }


Clone AbstractionParameter Count: 0Parameter Bindings

// 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 Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None