Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
12 | 2 | 2 | 0.993 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 12 | 4746 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
2 | 12 | 4759 | plugins/org.eclipse.jdt.core/compiler/org/eclipse/jdt/internal/compiler/parser/Parser.java |
| ||||
protected void consumeRecoveryMethodHeaderName() { // this method is call only inside recovery boolean isAnnotationMethod = false; if (this.currentElement instanceof RecoveredType) { isAnnotationMethod = (((RecoveredType) this.currentElement).typeDeclaration.modifiers& ClassFileConstants.AccAnnotation) != 0; } else { RecoveredType recoveredType = this.currentElement.enclosingType(); if (recoveredType != null) { isAnnotationMethod = (recoveredType.typeDeclaration.modifiers& ClassFileConstants.AccAnnotation) != 0; } } this.consumeMethodHeaderName(isAnnotationMethod); } |
| ||||
protected void consumeRecoveryMethodHeaderNameWithTypeParameters() { // this method is call only inside recovery boolean isAnnotationMethod = false; if (this.currentElement instanceof RecoveredType) { isAnnotationMethod = (((RecoveredType) this.currentElement).typeDeclaration.modifiers& ClassFileConstants.AccAnnotation) != 0; } else { RecoveredType recoveredType = this.currentElement.enclosingType(); if (recoveredType != null) { isAnnotationMethod = (recoveredType.typeDeclaration.modifiers& ClassFileConstants.AccAnnotation) != 0; } } this.consumeMethodHeaderNameWithTypeParameters(isAnnotationMethod); } |
| |||
protected void [[#variableb5298080]]() { // this method is call only inside recovery boolean isAnnotationMethod = false; if (this.currentElement instanceof RecoveredType) { isAnnotationMethod = (((RecoveredType) this.currentElement).typeDeclaration.modifiers&ClassFileConstants.AccAnnotation) != 0; } else { RecoveredType recoveredType = this.currentElement.enclosingType(); if (recoveredType != null) { isAnnotationMethod = (recoveredType.typeDeclaration.modifiers&ClassFileConstants.AccAnnotation) != 0; } } this. [[#variableb5298000]](isAnnotationMethod); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#b5298080]] | consumeRecoveryMethodHeaderName |
1 | 2 | [[#b5298080]] | consumeRecoveryMethodHeaderNameWithTypeParameters |
2 | 1 | [[#b5298000]] | consumeMethodHeaderName |
2 | 2 | [[#b5298000]] | consumeMethodHeaderNameWithTypeParameters |