Method: BiteScript::ClassBuilder#java_method

Defined in:
lib/bitescript/builder.rb,
lib/bitescript/asm3/builder.rb

#java_method(name, *params) ⇒ Object



419
420
421
422
423
424
425
# File 'lib/bitescript/builder.rb', line 419

def java_method(name, *params)
  if methods[name]
    method = methods[name][params]
  end

  method or raise NameError.new("failed to find method #{name}#{sig(params)} on #{self}")
end