()
| 124 | importObject( instance ); |
| 125 | } |
| 126 | Object getClassInstance() |
| 127 | throws UtilEvalError |
| 128 | { |
| 129 | if ( classInstance != null ) |
| 130 | return classInstance; |
| 131 | |
| 132 | if ( classStatic != null |
| 133 | //|| ( getParent()!=null && getParent().classStatic != null ) |
| 134 | ) |
| 135 | throw new UtilEvalError( |
| 136 | "Can't refer to class instance from static context."); |
| 137 | else |
| 138 | throw new InterpreterError( |
| 139 | "Can't resolve class instance 'this' in: "+this); |
| 140 | } |
| 141 | |
| 142 | |
| 143 | /** |
no outgoing calls
no test coverage detected