| Package | Description |
|---|---|
| com.google.template.soy.jbcsrc.restricted |
| Modifier and Type | Method and Description |
|---|---|
SoyRuntimeType |
SoyRuntimeType.asNonNullable() |
SoyRuntimeType |
SoyRuntimeType.asNullable() |
static SoyRuntimeType |
SoyRuntimeType.getBoxedType(SoyType soyType)
Returns the boxed representation of the given type.
|
SoyRuntimeType |
SoyExpression.soyRuntimeType()
Returns the
SoyRuntimeType of the expression. |
| Modifier and Type | Method and Description |
|---|---|
static com.google.common.base.Optional<SoyRuntimeType> |
SoyRuntimeType.getUnboxedType(SoyType soyType)
Returns the unboxed
jbcsrc representation of the given type, or absent if no such
representation exists. |
| Modifier and Type | Method and Description |
|---|---|
static SoyExpression |
SoyExpression.forProto(SoyRuntimeType type,
Expression delegate) |
static org.objectweb.asm.Type |
BytecodeUtils.unboxUnchecked(CodeBuilder cb,
SoyRuntimeType soyType,
Class<?> asType)
Outputs bytecode that unboxes the current top element of the stack as
asType. |