CloneSet7122


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7201.000class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
17112
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java
27248
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java
Clone Instance
1
Line Count
7
Source Line
112
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/FieldInfo.java

/**
 * Answer an int whose bits are set according the access constants
 * defined by the VM spec.
 * Set the AccDeprecated and AccSynthetic bits if necessary
 * @return int
 */
public int getModifiers() {
        if (this.accessFlags == -1) {
                // compute the accessflag. Don't forget the deprecated attribute
                this.accessFlags = u2At(0);
                readModifierRelatedAttributes();
        }
        return this.accessFlags;
}


Clone Instance
2
Line Count
7
Source Line
248
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/classfmt/MethodInfo.java

/**
 * Answer an int whose bits are set according the access constants
 * defined by the VM spec.
 * Set the AccDeprecated and AccSynthetic bits if necessary
 * @return int
 */
public int getModifiers() {
        if (this.accessFlags == -1) {
                // compute the accessflag. Don't forget the deprecated attribute
                this.accessFlags = u2At(0);
                readModifierRelatedAttributes();
        }
        return this.accessFlags;
}


Clone AbstractionParameter Count: 0Parameter Bindings

/**
 * Answer an int whose bits are set according the access constants
 * defined by the VM spec.
 * Set the AccDeprecated and AccSynthetic bits if necessary
 * @return int
 */
public int getModifiers() {
  if (this.accessFlags == -1) {
    // compute the accessflag. Don't forget the deprecated attribute
    this.accessFlags = u2At(0);
    readModifierRelatedAttributes();
  }
  return this.accessFlags;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
None