public abstract class AnalysisContext extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
AnalysisContext.AnalysisContextKey |
| Modifier and Type | Field and Description |
|---|---|
protected int |
id
Each context chain has an unique id, however these might not be consecutive due to how we
create unique context chains.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AnalysisContext() |
| Modifier and Type | Method and Description |
|---|---|
AnalysisContext.AnalysisContextKey |
asKey()
Creates a wrapper for the context that performs value equality instead of identity equality.
|
boolean |
equals(Object obj) |
int |
getId() |
int |
hashCode() |
String |
toString() |
protected abstract boolean |
valueEquals(AnalysisContext obj)
Must implement value equality for analysis context.
|
protected abstract int |
valueHashCode()
Must implement value hash code for analysis context.
|
protected final int id
public int getId()
protected abstract boolean valueEquals(AnalysisContext obj)
protected abstract int valueHashCode()
public AnalysisContext.AnalysisContextKey asKey()