Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
9 | 2 | 1 | 0.986 | class_body_declaration |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 9 | 82 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMember.java |
2 | 9 | 96 | plugins/org.eclipse.jdt.core/model/org/eclipse/jdt/internal/core/BinaryMember.java |
| ||||
/* * @see ISourceReference */ public ISourceRange getNameRange() throws JavaModelException { SourceMapper mapper = getSourceMapper(); if (mapper != null) { // ensure the class file's buffer is open so that source ranges are computed ((ClassFile) getClassFile()).getBuffer(); return mapper.getNameRange(this ); } else { return SourceMapper.UNKNOWN_RANGE; } } |
| ||||
/* * @see ISourceReference */ public ISourceRange getSourceRange() throws JavaModelException { SourceMapper mapper = getSourceMapper(); if (mapper != null) { // ensure the class file's buffer is open so that source ranges are computed ((ClassFile) getClassFile()).getBuffer(); return mapper.getSourceRange(this ); } else { return SourceMapper.UNKNOWN_RANGE; } } |
| |||
/* * @see ISourceReference */ public ISourceRange [[#variablea4df0820]]() throws JavaModelException { SourceMapper mapper = getSourceMapper(); if (mapper != null) { // ensure the class file's buffer is open so that source ranges are computed ((ClassFile) getClassFile()).getBuffer(); return mapper. [[#variablea4df0820]](this ); } else { return SourceMapper.UNKNOWN_RANGE; } } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
1 | 1 | [[#a4df0820]] | getNameRange |
1 | 2 | [[#a4df0820]] | getSourceRange |