CloneSet1856


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11340.979class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1111116
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java
2111128
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java
3111140
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java
Clone Instance
1
Line Count
11
Source Line
1116
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java

protected boolean isInsideFieldInitialization() {
        int i = elementPtr;
        while (i > -1) {
                switch (elementKindStack[i]) {
                        case K_TYPE_DELIMITER:  return false;
                        case K_METHOD_DELIMITER:  return false;
                        case K_FIELD_INITIALIZER_DELIMITER:  return true;
                      }
                i--;
        }
        return false;
}


Clone Instance
2
Line Count
11
Source Line
1128
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java

protected boolean isInsideMethod() {
        int i = elementPtr;
        while (i > -1) {
                switch (elementKindStack[i]) {
                        case K_TYPE_DELIMITER:  return false;
                        case K_METHOD_DELIMITER:  return true;
                        case K_FIELD_INITIALIZER_DELIMITER:  return false;
                      }
                i--;
        }
        return false;
}


Clone Instance
3
Line Count
11
Source Line
1140
Source File
plugins/org.eclipse.jdt.core/codeassist/org/eclipse/jdt/internal/codeassist/impl/AssistParser.java

protected boolean isInsideType() {
        int i = elementPtr;
        while (i > -1) {
                switch (elementKindStack[i]) {
                        case K_TYPE_DELIMITER:  return true;
                        case K_METHOD_DELIMITER:  return false;
                        case K_FIELD_INITIALIZER_DELIMITER:  return false;
                      }
                i--;
        }
        return false;
}


Clone AbstractionParameter Count: 4Parameter Bindings

protected boolean  [[#variable9375aa80]]() {
  int i = elementPtr;
  while (i > -1) {
    switch (elementKindStack[i]) {
      case K_TYPE_DELIMITER:
        return [[#variable9375afe0]];
      case K_METHOD_DELIMITER:
        return [[#variable9375b0a0]];
      case K_FIELD_INITIALIZER_DELIMITER:
        return [[#variable9375b080]];
    }
    i--;
  }
  return false;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#9375aa80]]
isInsideFieldInitialization 
12[[#9375aa80]]
isInsideMethod 
13[[#9375aa80]]
isInsideType 
21[[#9375afe0]]
false 
22[[#9375afe0]]
false 
23[[#9375afe0]]
true 
31[[#9375b0a0]]
false 
32[[#9375b0a0]]
true 
33[[#9375b0a0]]
false 
41[[#9375b080]]
true 
42[[#9375b080]]
false 
43[[#9375b080]]
false