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

Method getValue

src/bsh/Primitive.java:170–179  ·  view source on GitHub ↗

Return the primitive value stored in its java.lang wrapper class

()

Source from the content-addressed store, hash-verified

168 Return the primitive value stored in its java.lang wrapper class
169 */
170 public Object getValue()
171 {
172 if ( value == Special.NULL_VALUE )
173 return null;
174 else
175 if ( value == Special.VOID_TYPE )
176 throw new InterpreterError("attempt to unwrap void type");
177 else
178 return value;
179 }
180
181 public String toString()
182 {

Callers 4

binaryOperationMethod · 0.45
unaryOperationMethod · 0.45
unwrapMethod · 0.45
castPrimitiveMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected