public class CallGraphWorker.CallSiteHint
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private int |
additional
An additional info.
|
private boolean |
include
Flag indicating this is from an include.
|
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,
boolean include)
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.
|
boolean |
isInclude()
Determine if this hint is from an include file or not.
|
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
private boolean include
public CallSiteHint(int instance, int index, int additional, java.lang.String suffix, boolean include)
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.include
- Flag indicating this hint is from an include file.public boolean isInclude()
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.