| Class | Ruva::VM::Class::Reader::UnresolvedClass::MethodEntry |
| In: |
lib/ruva/class_loader.rb
|
| Parent: | MemberEntry |
returns the whole code attribute, data is a hash with :code, :max_locals and :max_stack. Returns attr because it may have nested attrs (line num, local var(table))
# File lib/ruva/class_loader.rb, line 365
365: def code_attr
366: if sig = attrs.find { |e| e.name == "Code" }
367: sig
368: end
369: end
# File lib/ruva/class_loader.rb, line 358
358: def exceptions
359: code_attr.data[:exceptions]
360: end
# File lib/ruva/class_loader.rb, line 371
371: def line_number_data
372: if sig = attrs.find { |e| e.name == "LineNumberTable" }
373: sig.data
374: end
375: end