Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
11 | 2 | 5 | 0.963 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 11 | 4395 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/problem/ProblemReporter.java |
2 | 16 | 6261 | 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); } |
| ||||
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); } |
| |||
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 Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#be6e0a80]] | missingDeprecatedAnnotationForType |
1 | 2 | [[#be6e0a80]] | unusedPrivateType |
2 | 1 | [[#be6e0a20]] | type |
2 | 2 | [[#be6e0a20]] | typeDecl |
3 | 1 | [[#be6e0940]] | TypeMissingDeprecatedAnnotation |
3 | 2 | [[#be6e0940]] | UnusedPrivateType |
4 | 1 | [[#9bde5b00]] | TypeBinding |
4 | 2 | [[#9bde5b00]] | ReferenceBinding |
5 | 1 | [[#be6e0860]] | binding |
5 | 2 | [[#be6e0860]] | type |