CloneSet2070


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11210.974statement_sequence[4]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1111247
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
2111302
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java
Clone Instance
1
Line Count
11
Source Line
1247
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java

        if ((field.modifiers&  ExtraCompilerModifiers.AccUnresolved) == 0)
                return field;

        if (this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
                if ((field.getAnnotationTagBits()&  TagBits.AnnotationDeprecated) != 0)
                        field.modifiers |= ClassFileConstants.AccDeprecated;
        }
        if (isViewedAsDeprecated() && !field.isDeprecated())
                field.modifiers |= ExtraCompilerModifiers.AccDeprecatedImplicitly;
        if (hasRestrictedAccess())
                field.modifiers |= ExtraCompilerModifiers.AccRestrictedAccess;


Clone Instance
2
Line Count
11
Source Line
1302
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/SourceTypeBinding.java

        if ((method.modifiers&  ExtraCompilerModifiers.AccUnresolved) == 0)
                return method;

        if (this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
                if ((method.getAnnotationTagBits()&  TagBits.AnnotationDeprecated) != 0)
                        method.modifiers |= ClassFileConstants.AccDeprecated;
        }
        if (isViewedAsDeprecated() && !method.isDeprecated())
                method.modifiers |= ExtraCompilerModifiers.AccDeprecatedImplicitly;
        if (hasRestrictedAccess())
                method.modifiers |= ExtraCompilerModifiers.AccRestrictedAccess;


Clone AbstractionParameter Count: 1Parameter Bindings

if (( [[#variable97b88b80]].modifiers&ExtraCompilerModifiers.AccUnresolved) == 0)
  return [[#variable97b88b80]];
if (this.scope.compilerOptions().sourceLevel >= ClassFileConstants.JDK1_5) {
  if (( [[#variable97b88b80]].getAnnotationTagBits()&TagBits.AnnotationDeprecated) != 0)
     [[#variable97b88b80]].modifiers |= ClassFileConstants.AccDeprecated;
}
if (isViewedAsDeprecated() && ! [[#variable97b88b80]].isDeprecated())
   [[#variable97b88b80]].modifiers |= ExtraCompilerModifiers.AccDeprecatedImplicitly;
if (hasRestrictedAccess())
   [[#variable97b88b80]].modifiers |= ExtraCompilerModifiers.AccRestrictedAccess;
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#97b88b80]]
field 
12[[#97b88b80]]
method