Interface VariableDef

All Superinterfaces:
ExpressionDef
All Known Implementing Classes:
VariableDef.ExceptionVar, VariableDef.Field, VariableDef.Local, VariableDef.MethodParameter, VariableDef.StaticField, VariableDef.Super, VariableDef.This

The variable definition.
Since:
1.0
Author:
Denis Stepanov
  • Method Details

    • assign

      default StatementDef assign(ExpressionDef expression)
      Assign this variable an expression.
      Parameters:
      expression - The expression.
      Returns:
      The statement
    • assign

      default StatementDef assign(ParameterDef parameterDef)
      Assign this variable a parameter value.
      Parameters:
      parameterDef - The parameterDef.
      Returns:
      The statement