MCPcopy Index your code
hub / github.com/beanshell/beanshell / setBlockVariable

Method setBlockVariable

src/bsh/BlockNameSpace.java:85–89  ·  view source on GitHub ↗

Set an untyped variable in the block namespace. The BlockNameSpace would normally delegate this set to the parent. Typed variables are naturally set locally. This is used in try/catch block argument.

( String name, Object value )

Source from the content-addressed store, hash-verified

83 This is used in try/catch block argument.
84 */
85 public void setBlockVariable( String name, Object value )
86 throws UtilEvalError
87 {
88 super.setVariable( name, value, false/*strict?*/, false );
89 }
90
91 /**
92 We have the variable: either it was declared here with a type, giving

Callers 1

evalMethod · 0.95

Calls 1

setVariableMethod · 0.45

Tested by

no test coverage detected