MCPcopy Create free account
hub / github.com/beanshell/beanshell / getValue

Method getValue

src/bsh/Variable.java:120–128  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

118 object field.
119 */
120 Object getValue()
121 throws UtilEvalError
122 {
123 if ( lhs != null )
124 return type == null ?
125 lhs.getValue() : Primitive.wrap( lhs.getValue(), type );
126
127 return value;
128 }
129
130 /** A type of null means loosely typed variable */
131 public Class getType() { return type; }

Callers

nothing calls this directly

Calls 1

wrapMethod · 0.95

Tested by

no test coverage detected