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

Method toObject

src/bsh/Name.java:174–178  ·  view source on GitHub ↗

Resolve possibly complex name to an object value. Throws EvalError on various failures. A null object value is indicated by a Primitive.NULL. A return type of Primitive.VOID comes from attempting to access an undefined variable. Some cases: myVariable myVariable.foo myVariable.f

( CallStack callstack, Interpreter interpreter )

Source from the content-addressed store, hash-verified

172 "this.callstack" magic field.
173 */
174 public Object toObject( CallStack callstack, Interpreter interpreter )
175 throws UtilEvalError
176 {
177 return toObject( callstack, interpreter, false );
178 }
179
180 /**
181 @see #toObject(CallStack, Interpreter)

Callers 6

toClassMethod · 0.95
invokeMethodMethod · 0.95
evalMethod · 0.45
getMethod · 0.45
doSuffixMethod · 0.45
objectAllocationMethod · 0.45

Calls 2

resetMethod · 0.95

Tested by

no test coverage detected