public class DeclareVariablesTransform extends java.lang.Object implements IAstTransform
| Modifier and Type | Class and Description |
|---|---|
protected static class |
DeclareVariablesTransform.VariableToDeclare |
| Modifier and Type | Field and Description |
|---|---|
protected DecompilerContext |
context |
protected java.util.List<DeclareVariablesTransform.VariableToDeclare> |
variablesToDeclare |
| Constructor and Description |
|---|
DeclareVariablesTransform(DecompilerContext context) |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
findDeclarationPoint(DefiniteAssignmentAnalysis analysis,
VariableDeclarationStatement declaration,
BlockStatement block,
com.strobel.core.StrongBox<Statement> declarationPoint,
Statement skipUpThrough) |
void |
run(AstNode node) |
protected final java.util.List<DeclareVariablesTransform.VariableToDeclare> variablesToDeclare
protected final DecompilerContext context
public DeclareVariablesTransform(DecompilerContext context)
public void run(AstNode node)
run in interface IAstTransformpublic static boolean findDeclarationPoint(DefiniteAssignmentAnalysis analysis, VariableDeclarationStatement declaration, BlockStatement block, com.strobel.core.StrongBox<Statement> declarationPoint, Statement skipUpThrough)