Previous CloneSet | Next CloneSet | Back to Main Report |
Clone Mass | Clones in CloneSet | Parameter Count | Clone Similarity | Syntax Category [Sequence Length] |
---|---|---|---|---|
8 | 2 | 0 | 1.000 | class_body_declarations[2] |
Clone Abstraction | Parameter Bindings |
Clone Instance (Click to see clone) | Line Count | Source Line | Source File |
---|---|---|---|
1 | 8 | 57 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/BreakpointFieldLocator.java |
2 | 8 | 75 | plugins/org.eclipse.jdt.debug.ui/ui/org/eclipse/jdt/internal/debug/ui/actions/BreakpointMethodLocator.java |
| ||||
/** * Return the name of type in which the field is declared. * Return <code>null</code> if there is no field declaration at the given position. */ public String getTypeName() { return fTypeName; } private boolean containsPosition(ASTNode node) { int startPosition = node.getStartPosition(); int endPosition = startPosition + node.getLength(); return startPosition <= fPosition && fPosition <= endPosition; } |
| ||||
/** * Return the name of type in which the method is declared. * Return <code>null</code> if there is no method declaration at the given position. * @see BreakpointFieldLocator#getMethodName() */ public String getTypeName() { return fTypeName; } private boolean containsPosition(ASTNode node) { int startPosition = node.getStartPosition(); int endPosition = startPosition + node.getLength(); return startPosition <= fPosition && fPosition <= endPosition; } |
| |||
/** * Return the name of type in which the field is declared. * Return <code>null</code> if there is no field declaration at the given position. */ /** * Return the name of type in which the method is declared. * Return <code>null</code> if there is no method declaration at the given position. * @see BreakpointFieldLocator#getMethodName() */ public String getTypeName() { return fTypeName; } private boolean containsPosition(ASTNode node) { int startPosition = node.getStartPosition(); int endPosition = startPosition + node.getLength(); return startPosition <= fPosition && fPosition <= endPosition; } |
CloneAbstraction |
Parameter Index | Clone Instance | Parameter Name | Value |
---|---|---|---|
None |