CloneSet1803


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

public void missingDeprecatedAnnotationForType(TypeDeclaration type) {
        int severity = computeSeverity(IProblem.TypeMissingDeprecatedAnnotation);
        if (severity == ProblemSeverities.Ignore) return;
        TypeBinding binding = type.binding;
        this.handle(
                IProblem.TypeMissingDeprecatedAnnotation, 
                new String[] {
                              new String(binding.readableName())
                               ,
                             }, new String[] {
                                              new String(binding.shortReadableName())
                                               ,
                                             }, severity, type.sourceStart, type.sourceEnd);
}


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

public void unusedPrivateType(TypeDeclaration typeDecl) {
        int severity = computeSeverity(IProblem.UnusedPrivateType);
        if (severity == ProblemSeverities.Ignore) return;

        ReferenceBinding type = typeDecl.binding;
        this.handle(
                        IProblem.UnusedPrivateType, 
                new String[] {
                        new String(type.readableName())
                               ,
                             }, new String[] {
                                        new String(type.shortReadableName())
                                               ,
                                             }, severity, 
                typeDecl.sourceStart, 
                typeDecl.sourceEnd);
}


Clone AbstractionParameter Count: 5Parameter Bindings

public void [[#variablebe6e0a80]](TypeDeclaration  [[#variablebe6e0a20]]) {
  int severity = computeSeverity(IProblem. [[#variablebe6e0940]]);
  if (severity == ProblemSeverities.Ignore)
    return;
   [[#variable9bde5b00]]  [[#variablebe6e0860]]= [[#variablebe6e0a20]].binding;
  this.handle(IProblem. [[#variablebe6e0940]], new String[] {
                                                              new String( [[#variablebe6e0860]].readableName())
                                                              ,
                                                            }, new String[] {
                                                                              new String( [[#variablebe6e0860]].shortReadableName())
                                                                              ,
                                                                            }, severity,  [[#variablebe6e0a20]].sourceStart,  [[#variablebe6e0a20]].sourceEnd);
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#be6e0a80]]
missingDeprecatedAnnotationForType 
12[[#be6e0a80]]
unusedPrivateType 
21[[#be6e0a20]]
type 
22[[#be6e0a20]]
typeDecl 
31[[#be6e0940]]
TypeMissingDeprecatedAnnotation 
32[[#be6e0940]]
UnusedPrivateType 
41[[#9bde5b00]]
TypeBinding 
42[[#9bde5b00]]
ReferenceBinding 
51[[#be6e0860]]
binding 
52[[#be6e0860]]
type