public class LineTouchPointDescriptor extends TouchPointDescriptor
A LINE touch-point have assigned only one counter.
We also storing a methodName
and a methodSignature
(consider to move this fields into TouchPointDescriptor
).
Those fields are needed to properly create instance of LineData
.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
counterId |
private java.lang.String |
methodName
Name of a method, the line belongs to
|
private java.lang.String |
methodSignature
Signature (description) of a method, the line belongs to.
|
Constructor and Description |
---|
LineTouchPointDescriptor(int eventId,
int lineNumber,
java.lang.String methodName,
java.lang.String methodSignature) |
Modifier and Type | Method and Description |
---|---|
int |
assignCounters(java.util.concurrent.atomic.AtomicInteger idGenerator)
Every touch-point will have assigned some counters.
|
java.lang.Integer |
getCounterId() |
java.lang.String |
getMethodName() |
java.lang.String |
getMethodSignature() |
getEventId, getLineNumber, setEventId, setLineNumber
private java.lang.Integer counterId
private java.lang.String methodName
private java.lang.String methodSignature
public LineTouchPointDescriptor(int eventId, int lineNumber, java.lang.String methodName, java.lang.String methodSignature)
public int assignCounters(java.util.concurrent.atomic.AtomicInteger idGenerator)
TouchPointDescriptor
assignCounters
in class TouchPointDescriptor
public java.lang.Integer getCounterId()
public java.lang.String getMethodName()
public java.lang.String getMethodSignature()