CloneSet566


Previous CloneSetNext CloneSetBack to Main Report
Clone
Mass
Clones in
CloneSet
Parameter
Count
Clone
Similarity
Syntax Category
[Sequence Length]
11430.982class_body_declaration
Clone AbstractionParameter Bindings
Clone Instance
(Click to see clone)
Line CountSource Line
Source File
1114247
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
2114259
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
3114305
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
4114896
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java
Clone Instance
1
Line Count
11
Source Line
4247
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void localVariableCannotBeNull(LocalVariableBinding local, ASTNode location) {
        int severity = computeSeverity(IProblem.LocalVariableCannotBeNull);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(local.name)
                                          };
        this.handle(
                IProblem.LocalVariableCannotBeNull, 
                arguments, 
                arguments, 
                severity, 
                nodeSourceStart(local, location), 
                nodeSourceEnd(local, location));
}


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

public void localVariableCanOnlyBeNull(LocalVariableBinding local, ASTNode location) {
        int severity = computeSeverity(IProblem.LocalVariableCanOnlyBeNull);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(local.name)
                                          };
        this.handle(
                IProblem.LocalVariableCanOnlyBeNull, 
                arguments, 
                arguments, 
                severity, 
                nodeSourceStart(local, location), 
                nodeSourceEnd(local, location));
}


Clone Instance
3
Line Count
11
Source Line
4305
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void localVariableMayBeNull(LocalVariableBinding local, ASTNode location) {
        int severity = computeSeverity(IProblem.LocalVariableMayBeNull);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                           new String(local.name)
                                          };
        this.handle(
                IProblem.LocalVariableMayBeNull, 
                arguments, 
                arguments, 
                severity, 
                nodeSourceStart(local, location), 
                nodeSourceEnd(local, location));
}


Clone Instance
4
Line Count
11
Source Line
4896
Source File
plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java

public void parameterAssignment(LocalVariableBinding local, ASTNode location) {
        int severity = computeSeverity(IProblem.ParameterAssignment);
        if (severity == ProblemSeverities.Ignore) return;
        String[] arguments = new String[] {
                                            new String(local.readableName())
                                          };
        this.handle(
                IProblem.ParameterAssignment, 
                arguments, 
                arguments, 
                severity, 
                nodeSourceStart(local, location), 
                nodeSourceEnd(local, location)); // should never be a qualified name reference
}


Clone AbstractionParameter Count: 3Parameter Bindings

public void [[#variable584c4980]](LocalVariableBinding local, ASTNode location) {
  int severity = computeSeverity(IProblem. [[#variable584c48e0]]);
  if (severity == ProblemSeverities.Ignore)
    return;
  String[] arguments = new String[] {
                                      new String(local [[#variable584c4820]])
                                    };
  this.handle(IProblem. [[#variable584c48e0]], arguments, arguments, severity, nodeSourceStart(local, location), nodeSourceEnd(local, location)); // should never be a qualified name reference
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#584c4980]]
localVariableCannotBeNull 
12[[#584c4980]]
localVariableCanOnlyBeNull 
13[[#584c4980]]
localVariableMayBeNull 
14[[#584c4980]]
parameterAssignment 
21[[#584c48e0]]
LocalVariableCannotBeNull 
22[[#584c48e0]]
LocalVariableCanOnlyBeNull 
23[[#584c48e0]]
LocalVariableMayBeNull 
24[[#584c48e0]]
ParameterAssignment 
31[[#584c4820]]
.name 
32[[#584c4820]]
.name 
33[[#584c4820]]
.name 
34[[#584c4820]]
.readableName()