CloneSet1588


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

public void javadocDuplicatedThrowsClassName(TypeReference typeReference, int modifiers) {
        int severity = computeSeverity(IProblem.JavadocDuplicateThrowsClassName);
        if (severity == ProblemSeverities.Ignore) return;
        if (javadocVisibility(this.options.reportInvalidJavadocTagsVisibility, modifiers)) {
                String[] arguments = new String[] {
                                                   String.valueOf(typeReference.resolvedType.sourceName())
                                                  };
                this.handle(
                        IProblem.JavadocDuplicateThrowsClassName, 
                        arguments, 
                        arguments, 
                        severity, 
                        typeReference.sourceStart, 
                        typeReference.sourceEnd);
        }
}


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

public void javadocInvalidThrowsClassName(TypeReference typeReference, int modifiers) {
        int severity = computeSeverity(IProblem.JavadocInvalidThrowsClassName);
        if (severity == ProblemSeverities.Ignore) return;
        if (javadocVisibility(this.options.reportInvalidJavadocTagsVisibility, modifiers)) {
                String[] arguments = new String[] {
                                                   String.valueOf(typeReference.resolvedType.sourceName())
                                                  };
                this.handle(
                        IProblem.JavadocInvalidThrowsClassName, 
                        arguments, 
                        arguments, 
                        severity, 
                        typeReference.sourceStart, 
                        typeReference.sourceEnd);
        }
}


Clone AbstractionParameter Count: 2Parameter Bindings

public void [[#variablea4f42a40]](TypeReference typeReference, int modifiers) {
  int severity = computeSeverity(IProblem. [[#variablea4f429a0]]);
  if (severity == ProblemSeverities.Ignore)
    return;
  if (javadocVisibility(this.options.reportInvalidJavadocTagsVisibility, modifiers)) {
    String[] arguments = new String[] {
                                        String.valueOf(typeReference.resolvedType.sourceName())
                                      };
    this.handle(IProblem. [[#variablea4f429a0]], arguments, arguments, severity, typeReference.sourceStart, typeReference.sourceEnd);
  }
}
 

CloneAbstraction
Parameter Bindings
Parameter
Index
Clone
Instance
Parameter
Name
Value
11[[#a4f42a40]]
javadocDuplicatedThrowsClassName 
12[[#a4f42a40]]
javadocInvalidThrowsClassName 
21[[#a4f429a0]]
JavadocDuplicateThrowsClassName 
22[[#a4f429a0]]
JavadocInvalidThrowsClassName