Class DeclareVariablesTransform.VariableToDeclare
- java.lang.Object
-
- com.strobel.decompiler.languages.java.ast.transforms.DeclareVariablesTransform.VariableToDeclare
-
- Enclosing class:
- DeclareVariablesTransform
protected static final class DeclareVariablesTransform.VariableToDeclare extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private BlockStatement
_block
private CatchClause
_catchClause
private Statement
_insertionPoint
private java.lang.String
_name
private AssignmentExpression
_replacedAssignment
private AstType
_type
private Variable
_variable
-
Constructor Summary
Constructors Constructor Description VariableToDeclare(AstType type, java.lang.String name, Variable variable, AssignmentExpression replacedAssignment, BlockStatement block)
VariableToDeclare(AstType type, java.lang.String name, Variable variable, CatchClause catchClause)
VariableToDeclare(AstType type, java.lang.String name, Variable variable, Statement insertionPoint, BlockStatement block)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockStatement
getBlock()
CatchClause
getCatchClause()
Statement
getInsertionPoint()
java.lang.String
getName()
AssignmentExpression
getReplacedAssignment()
AstType
getType()
Variable
getVariable()
boolean
isCatchVariable()
java.lang.String
toString()
-
-
-
Field Detail
-
_type
private final AstType _type
-
_name
private final java.lang.String _name
-
_variable
private final Variable _variable
-
_insertionPoint
private final Statement _insertionPoint
-
_replacedAssignment
private final AssignmentExpression _replacedAssignment
-
_block
private final BlockStatement _block
-
_catchClause
private final CatchClause _catchClause
-
-
Constructor Detail
-
VariableToDeclare
public VariableToDeclare(AstType type, java.lang.String name, Variable variable, Statement insertionPoint, BlockStatement block)
-
VariableToDeclare
public VariableToDeclare(AstType type, java.lang.String name, Variable variable, AssignmentExpression replacedAssignment, BlockStatement block)
-
VariableToDeclare
public VariableToDeclare(AstType type, java.lang.String name, Variable variable, CatchClause catchClause)
-
-
Method Detail
-
isCatchVariable
public boolean isCatchVariable()
-
getCatchClause
public CatchClause getCatchClause()
-
getBlock
public BlockStatement getBlock()
-
getType
public AstType getType()
-
getName
public java.lang.String getName()
-
getVariable
public Variable getVariable()
-
getReplacedAssignment
public AssignmentExpression getReplacedAssignment()
-
getInsertionPoint
public Statement getInsertionPoint()
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-