public class Scope extends Object
| Modifier and Type | Method and Description |
|---|---|
Variable |
createTempVariable(Class<?> type) |
Variable |
declareVariable(Class<?> type,
String variableName) |
Variable |
declareVariable(ParameterizedType type,
String variableName) |
Variable |
declareVariable(String variableName,
BytecodeBlock block,
BytecodeExpression initialValue) |
Variable |
getThis() |
Variable |
getVariable(String name) |
List<Variable> |
getVariables() |
public Variable getThis()
public Variable declareVariable(ParameterizedType type, String variableName)
public Variable declareVariable(String variableName, BytecodeBlock block, BytecodeExpression initialValue)
Copyright © 2012–2023. All rights reserved.