CloneSet7535


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

/**
 * Answer true if the method is a class initializer, false otherwise.
 * @return boolean
 */
public boolean isClinit() {
        char[] selector = getSelector();
        return selector[0] == '<' && selector.length == 8; // Can only match <clinit>
}


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

/**
 * Answer true if the method is a constructor, false otherwise.
 * @return boolean
 */
public boolean isConstructor() {
        char[] selector = getSelector();
        return selector[0] == '<' && selector.length == 6; // Can only match <init>
}


Clone AbstractionParameter Count: 2Parameter Bindings

/**
 * Answer true if the method is a class initializer, false otherwise.
 * @return boolean
 */
/**
 * Answer true if the method is a constructor, false otherwise.
 * @return boolean
 */
public boolean  [[#variable59f22d80]]() {
  char[] selector = getSelector();
  return selector[0] == '<' && selector.length == [[#variable59f22d20]]; // Can only match <clinit> // Can only match <init>
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#59f22d80]]
isClinit 
12[[#59f22d80]]
isConstructor 
21[[#59f22d20]]
8 
22[[#59f22d20]]
6