CloneSet3542


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
10360.952class_body_declarations[2]
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
16858
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java
29962
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java
310980
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java
Clone Instance
1
Line Count
6
Source Line
858
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

public boolean isAnnotationType() {
        return (this.modifiers&  ClassFileConstants.AccAnnotation) != 0;
}

public final boolean isBinaryBinding() {
        return (this.tagBits&  TagBits.IsBinaryBinding) != 0;
}


Clone Instance
2
Line Count
9
Source Line
962
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

public boolean isEnum() {
        return (this.modifiers&  ClassFileConstants.AccEnum) != 0;
}

/**
 * Answer true if the receiver is final and cannot be subclassed
 */
public final boolean isFinal() {
        return (this.modifiers&  ClassFileConstants.AccFinal) != 0;
}


Clone Instance
3
Line Count
10
Source Line
980
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/lookup/ReferenceBinding.java

public boolean isInterface() {
        // consider strict interfaces and annotation types
        return (this.modifiers&  ClassFileConstants.AccInterface) != 0;
}

/** 
 * Answer true if the receiver has private visibility
 */
public final boolean isPrivate() {
        return (this.modifiers&  ClassFileConstants.AccPrivate) != 0;
}


Clone AbstractionParameter Count: 6Parameter Bindings

public boolean  [[#variablea0f490a0]]() {
  // consider strict interfaces and annotation types
  return (this.modifiers&ClassFileConstants. [[#variablea0f49020]]) != 0;
}

/** 
 * Answer true if the receiver has private visibility
 */
/**
 * Answer true if the receiver is final and cannot be subclassed
 */
public final boolean  [[#variablea0f48fa0]]() {
  return (this. [[#variablea0f48f60]]& [[#variablea0f48e80]]. [[#variablea0f48e60]]) != 0;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a0f490a0]]
isInterface 
12[[#a0f490a0]]
isEnum 
13[[#a0f490a0]]
isAnnotationType 
21[[#a0f49020]]
AccInterface 
22[[#a0f49020]]
AccEnum 
23[[#a0f49020]]
AccAnnotation 
31[[#a0f48fa0]]
isPrivate 
32[[#a0f48fa0]]
isFinal 
33[[#a0f48fa0]]
isBinaryBinding 
41[[#a0f48f60]]
modifiers 
42[[#a0f48f60]]
modifiers 
43[[#a0f48f60]]
tagBits 
51[[#a0f48e80]]
ClassFileConstants 
52[[#a0f48e80]]
ClassFileConstants 
53[[#a0f48e80]]
TagBits 
61[[#a0f48e60]]
AccPrivate 
62[[#a0f48e60]]
AccFinal 
63[[#a0f48e60]]
IsBinaryBinding