Module: YARD::Handlers::JRuby::MixinHandler

Includes:
Base
Defined in:
lib/openhab/yard/handlers/jruby/mixin_handler.rb

Instance Method Summary collapse

Methods included from Base

infer_java_class, #infer_java_class

Instance Method Details

#process_mixin(mixin) ⇒ Object



11
12
13
14
15
16
17
18
19
# File 'lib/openhab/yard/handlers/jruby/mixin_handler.rb', line 11

def process_mixin(mixin)
  if infer_java_class(mixin, CodeObjects::Java::InterfaceObject)
    # make the Ruby::MixinHandler accept that this is a ref
    def mixin.ref?
      true
    end
  end
  super
end