public interface DeserializerContext
Modifier and Type | Field and Description |
---|---|
static DeserializerContext |
NULL |
static final DeserializerContext NULL
void clear()
<T> DeserializerContext newIsolatedContext(TypeManager types, LocalVariableNameGenerator locals)
void addHint(AnnotatedElement role, Object hint)
<T> Optional<T> getHint(SerializedRole role, Class<T> clazz)
<T> Optional<T> getHint(AnnotatedElement element, Class<T> clazz)
<T> Stream<T> getHints(SerializedRole role, Class<T> clazz)
<T> Stream<T> getHints(AnnotatedElement element, Class<T> clazz)
int refCount(SerializedValue value)
void ref(SerializedReferenceType value, SerializedValue referencedValue)
void staticRef(SerializedValue referencedValue)
Set<SerializedValue> closureOf(SerializedValue value)
TypeManager getTypes()
boolean defines(SerializedValue value)
LocalVariable getDefinition(SerializedValue value)
Computation forVariable(SerializedValue value, Type type, LocalVariableDefinition computation)
String temporaryLocal()
LocalVariable localVariable(SerializedValue value, Type type)
void resetVariable(SerializedValue value)
void finishVariable(SerializedValue value)
LocalVariableNameGenerator getLocals()
boolean isComputed(SerializedValue value)
Optional<SerializedValue> resolve(int id)
<T extends SerializedRole,S> S withRole(T role, Function<T,S> continuation)
Copyright © 2020. All rights reserved.