public class StackTarget extends Target
Modifier and Type | Field and Description |
---|---|
protected boolean |
autoTruncates
Target is field or array element that automatically truncates.
|
Ignore, pushObject
Constructor and Description |
---|
StackTarget(Type type) |
Modifier and Type | Method and Description |
---|---|
void |
compileFromStack(Compilation comp,
Type stackType) |
protected boolean |
compileFromStack0(Compilation comp,
Type stackType) |
static void |
convert(Compilation comp,
Type stackType,
Type targetType) |
protected void |
doCoerce(Compilation comp) |
protected static void |
emitCoerceFromObject(Type type,
Compilation comp) |
static Type |
forceLazy(Compilation comp,
Type stackType,
Type type) |
static Type |
forceLazyIfNeeded(Compilation comp,
Type stackType,
Type type) |
protected StackTarget |
getClonedInstance(Type type) |
static Target |
getInstance(Type type) |
static Target |
getTruncatingInstance(Type type) |
Type |
getType() |
protected boolean autoTruncates
public StackTarget(Type type)
protected StackTarget getClonedInstance(Type type)
public static Type forceLazyIfNeeded(Compilation comp, Type stackType, Type type)
public static Type forceLazy(Compilation comp, Type stackType, Type type)
protected boolean compileFromStack0(Compilation comp, Type stackType)
public static void convert(Compilation comp, Type stackType, Type targetType)
protected static void emitCoerceFromObject(Type type, Compilation comp)
public void compileFromStack(Compilation comp, Type stackType)
compileFromStack
in class Target
protected void doCoerce(Compilation comp)