| Class | Ruva::VM::Types::ConstClassRef |
| In: |
lib/ruva/types.rb
|
| Parent: | ObjectRef |
| vmdata | -> | const_clz_name |
# File lib/ruva/types.rb, line 212
212: def wrap(vm, clz)
213: new(@@class_class ||= vm.find_class('java/lang/Class'), {}, clz.name).link(vm)
214: end
# File lib/ruva/types.rb, line 225
225: def ==(other)
226: other.is_a?(ConstClassRef) && other.identity_hash == identity_hash
227: end
# File lib/ruva/types.rb, line 241
241: def const_clz
242: @const_clz ||= @vm.find_class(vmdata)
243: end