Package io.airlift.bytecode
Class Scope
- java.lang.Object
-
- io.airlift.bytecode.Scope
-
public class Scope extends Object
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description VariablecreateTempVariable(Class<?> type)VariabledeclareVariable(ParameterizedType type, String variableName)VariabledeclareVariable(Class<?> type, String variableName)VariabledeclareVariable(String variableName, BytecodeBlock block, BytecodeExpression initialValue)VariablegetTempVariable(String name)VariablegetThis()VariablegetVariable(String name)List<Variable>getVariables()
-
-
-
Method Detail
-
getThis
public Variable getThis()
-
declareVariable
public Variable declareVariable(ParameterizedType type, String variableName)
-
declareVariable
public Variable declareVariable(String variableName, BytecodeBlock block, BytecodeExpression initialValue)
-
-