public class CallGraphWorker.CallSiteHint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
additional
An additional info.
|
private int |
index
The index in the hints's array, otherwise -1.
|
private int |
instance
The call-site instance (numbered in order of appearance).
|
private java.lang.String |
suffix
The hint's suffix.
|
Constructor and Description |
---|
CallSiteHint(int instance,
int index,
int additional,
java.lang.String suffix)
Create a new call-site hint.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Check if this instance is the same as the given one.
|
java.lang.String |
getSuffix()
Get the hint's suffix.
|
int |
hashCode()
Compute the hashcode of this instance.
|
java.lang.String |
toString()
Create a string representation of this instance.
|
private final java.lang.String suffix
private final int instance
private final int index
private final int additional
public CallSiteHint(int instance, int index, int additional, java.lang.String suffix)
instance
- The call-site instance (numbered in order of appearance).index
- The index in the hints's array, otherwise -1.additional
- An additional info.suffix
- The hint's suffix.public java.lang.String getSuffix()
suffix
.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
obj
- The instance to compare against.