/** @param value may be null if this */ Variable( String name, Class type, Object value, Modifiers modifiers ) throws UtilEvalError { this.name=name; this.type = type; this.modifiers = modifiers; setValue( value, DECLARATION ); }
/** @param value may be null if this */ Variable( String name, Class<?> type, Object value, Modifiers modifiers ) throws UtilEvalError { this.name=name; this.type = type; this.setModifiers( modifiers ); this.setValue( value, DECLARATION ); }
existing.setValue( value, Variable.ASSIGNMENT ); return existing; } else {
existing.modifiers = modifiers; existing.setValue(value, Variable.DECLARATION); return;
existing.setValue( value, Variable.DECLARATION ); return;
existing.setValue( value, Variable.ASSIGNMENT ); } catch ( UtilEvalError e ) { throw new UtilEvalError(
existing.setValue(value, Variable.ASSIGNMENT); } catch (final UtilEvalError e) { throw new UtilEvalError(
Variable var = new Variable(dec.name, type, lhs); var.modifiers = modifiers; var.setValue(value, Variable.ASSIGNMENT); namespace.setVariableImpl(var); } else {
lhs.getVariable().setValue( rhs, Variable.ASSIGNMENT ); return rhs;