private static class MethodTraceAspect.Call
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private MethodTraceAspect.MethodIdentifier |
callee
Callee method
|
private MethodTraceAspect.MethodIdentifier |
caller
Caller method
|
private int |
hash
Cached hash
|
private MethodTraceAspect.MethodIdentifier |
root
First method in call path traced
|
Constructor and Description |
---|
Call(MethodTraceAspect.MethodIdentifier root,
MethodTraceAspect.MethodIdentifier caller,
MethodTraceAspect.MethodIdentifier callee)
Constructor which computes and caches hash code.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o)
Implementation which is consistent with overridden
hashCode() method. |
int |
hashCode()
Fast implementation which returns the cached hash code.
|
java.lang.String |
toString()
Compose a string representation of this object, primarily for debugging.
|
private final MethodTraceAspect.MethodIdentifier root
private final MethodTraceAspect.MethodIdentifier caller
private final MethodTraceAspect.MethodIdentifier callee
private final int hash
Call(MethodTraceAspect.MethodIdentifier root, MethodTraceAspect.MethodIdentifier caller, MethodTraceAspect.MethodIdentifier callee)
root
- First method in call path traced.caller
- Caller method.callee
- Callee method.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object o)
hashCode()
method.equals
in class java.lang.Object
o
- Object with which to compare this instance.true
if the given instance is equivalent to this instance.public java.lang.String toString()
toString
in class java.lang.Object