org.jetbrains.kotlin.resolve
Interface BindingTrace
- All Superinterfaces:
- DiagnosticSink
- All Known Implementing Classes:
- BindingTraceContext, ChainedTemporaryBindingTrace, DelegatingBindingTrace, ObservableBindingTrace, TemporaryBindingTrace
public interface BindingTrace
- extends DiagnosticSink
Method Summary |
|
get(ReadOnlySlice<K,V> slice,
K key)
|
BindingContext |
getBindingContext()
|
<K,V> java.util.Collection<K> |
|
getKeys(WritableSlice<K,V> slice)
|
KotlinType |
getType(KtExpression expression)
Expression type should be taken from EXPRESSION_TYPE_INFO slice |
|
record(WritableSlice<K,java.lang.Boolean> slice,
K key)
|
|
record(WritableSlice<K,V> slice,
K key,
V value)
|
void |
recordType(KtExpression expression,
KotlinType type)
Expression type should be recorded into EXPRESSION_TYPE_INFO slice
(either updated old or a new one) |
getBindingContext
@NotNull
BindingContext getBindingContext()
record
<K,V> void record(WritableSlice<K,V> slice,
K key,
V value)
record
<K> void record(WritableSlice<K,java.lang.Boolean> slice,
K key)
get
@Nullable
<K,V> V get(ReadOnlySlice<K,V> slice,
K key)
getKeys
@NotNull
<K,V> java.util.Collection<K> getKeys(WritableSlice<K,V> slice)
getType
@Nullable
KotlinType getType(@NotNull
KtExpression expression)
- Expression type should be taken from EXPRESSION_TYPE_INFO slice
recordType
void recordType(@NotNull
KtExpression expression,
@Nullable
KotlinType type)
- Expression type should be recorded into EXPRESSION_TYPE_INFO slice
(either updated old or a new one)