CloneSet2480


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
7220.992statement_sequence_member
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
176214
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
276223
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
7
Source Line
6214
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

        // no report for serialization support 'void readObject(ObjectInputStream)'
        if ( !method.isStatic() &&
                            TypeBinding.VOID == method.returnType &&
                            method.parameters.length == 1 &&
                            method.parameters[0].dimensions() == 0 &&
                            CharOperation.equals(method.selector, TypeConstants.READOBJECT) &&
                            CharOperation.equals(TypeConstants.CharArray_JAVA_IO_OBJECTINPUTSTREAM, method.parameters[0].readableName())) {
                return;
        }


Clone Instance
2
Line Count
7
Source Line
6223
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

        // no report for serialization support 'void writeObject(ObjectOutputStream)'
        if ( !method.isStatic() &&
                            TypeBinding.VOID == method.returnType &&
                            method.parameters.length == 1 &&
                            method.parameters[0].dimensions() == 0 &&
                            CharOperation.equals(method.selector, TypeConstants.WRITEOBJECT) &&
                            CharOperation.equals(TypeConstants.CharArray_JAVA_IO_OBJECTOUTPUTSTREAM, method.parameters[0].readableName())) {
                return;
        }


Clone AbstractionParameter Count: 2Parameter Bindings

// no report for serialization support 'void writeObject(ObjectOutputStream)'
// no report for serialization support 'void readObject(ObjectInputStream)'
if ( !method.isStatic() && TypeBinding.VOID == method.returnType && method.parameters.length == 1 && method.parameters[0].dimensions() == 0 && CharOperation.equals(method.selector, TypeConstants. [[#variable56b49d60]]) && CharOperation.equals(TypeConstants. [[#variable56b49f80]], method.parameters[0].readableName())) {
  return;
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#56b49d60]]
WRITEOBJECT 
12[[#56b49d60]]
READOBJECT 
21[[#56b49f80]]
CharArray_JAVA_IO_OBJECTOUTPUTSTREAM 
22[[#56b49f80]]
CharArray_JAVA_IO_OBJECTINPUTSTREAM