@Override public Object getValue(String name) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { return ((IDynamicPropertySymbol) symbol).getGetterDfs().invoke(new Object[]{this}); } else { return symbol.getValue(); } }
@Override public void setValue(String name, Object value) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { ((IDynamicPropertySymbol) symbol).getSetterDfs().invoke(new Object[]{this, value}); } else { symbol.setValue(value); } }
@Override public void setValue(String name, Object value) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { ((IDynamicPropertySymbol) symbol).getSetterDfs().invoke(new Object[]{this, value}); } else { symbol.setValue(value); } }
@Override public Object getValue(String name) { ISymbol symbol = getSymbol( name ); verifySymbol( name, symbol ); // Any external symbols that are properties are coming from the code block, so they implicitly take // an IExternalSymbolMap as their first argument if (_assumeSymbolsRequireExternalSymbolMapArgument && symbol instanceof IDynamicPropertySymbol) { return ((IDynamicPropertySymbol) symbol).getGetterDfs().invoke(new Object[]{this}); } else { return symbol.getValue(); } }