Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
16 | 4 | 3 | 0.984 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 16 | 954 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
2 | 16 | 975 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
3 | 16 | 992 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
4 | 16 | 1043 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/compiler/DocumentElementParser.java |
| ||||
protected void consumeSingleStaticImportDeclarationName() { // SingleTypeImportDeclarationName ::= 'import' 'static' Name /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumeSingleStaticImportDeclarationName(); ImportReference importReference = (ImportReference) astStack[astPtr]; requestor.acceptImport( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart, false, ClassFileConstants.AccStatic); } |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumeSingleTypeImportDeclarationName() { // SingleTypeImportDeclarationName ::= 'import' Name /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumeSingleTypeImportDeclarationName(); ImportReference importReference = (ImportReference) astStack[astPtr]; requestor.acceptImport( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart, false, ClassFileConstants.AccDefault); } |
| ||||
protected void consumeStaticImportOnDemandDeclarationName() { // SingleTypeImportDeclarationName ::= 'import' 'static' Name '.' '*' /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumeStaticImportOnDemandDeclarationName(); ImportReference importReference = (ImportReference) astStack[astPtr]; requestor.acceptImport( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart, true, ClassFileConstants.AccStatic); } |
| ||||
/* * * INTERNAL USE-ONLY */ protected void consumeTypeImportOnDemandDeclarationName() { // TypeImportOnDemandDeclarationName ::= 'import' Name '.' '*' /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super.consumeTypeImportOnDemandDeclarationName(); ImportReference importReference = (ImportReference) astStack[astPtr]; requestor.acceptImport( importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart, true, ClassFileConstants.AccDefault); } |
| |||
/* * * INTERNAL USE-ONLY */ protected void [[#variable564bab80]]() { // SingleTypeImportDeclarationName ::= 'import' 'static' Name // SingleTypeImportDeclarationName ::= 'import' Name // SingleTypeImportDeclarationName ::= 'import' 'static' Name '.' '*' // TypeImportOnDemandDeclarationName ::= 'import' Name '.' '*' /* persisting javadoc positions */ pushOnIntArrayStack(this.getJavaDocPositions()); super. [[#variable564bab80]](); ImportReference importReference = (ImportReference) astStack[astPtr]; requestor.acceptImport(importReference.declarationSourceStart, importReference.declarationSourceEnd, intArrayStack[intArrayPtr-- ], CharOperation.concatWith(importReference.getImportName(), '.'), importReference.sourceStart, [[#variable564baae0]], ClassFileConstants. [[#variable564ba9e0]]); } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#564bab80]] | consumeSingleStaticImportDeclarationName |
1 | 2 | [[#564bab80]] | consumeSingleTypeImportDeclarationName |
1 | 3 | [[#564bab80]] | consumeStaticImportOnDemandDeclarationName |
1 | 4 | [[#564bab80]] | consumeTypeImportOnDemandDeclarationName |
2 | 1 | [[#564baae0]] | false |
2 | 2 | [[#564baae0]] | false |
2 | 3 | [[#564baae0]] | true |
2 | 4 | [[#564baae0]] | true |
3 | 1 | [[#564ba9e0]] | AccStatic |
3 | 2 | [[#564ba9e0]] | AccDefault |
3 | 3 | [[#564ba9e0]] | AccStatic |
3 | 4 | [[#564ba9e0]] | AccDefault |