Module: YARD::CodeObjects::Java::Proxy

Defined in:
lib/openhab/yard/code_objects/java/proxy.rb

Instance Method Summary collapse

Instance Method Details

#initialize(namespace, name, type = nil) ⇒ Object



9
10
11
12
13
14
15
16
17
18
19
# File 'lib/openhab/yard/code_objects/java/proxy.rb', line 9

def initialize(namespace, name, type = nil)
  if name.match?(/^([a-zA-Z_$][a-zA-Z\d_$]*\.)+/)
    @namespace = Registry.root
    @name = name.to_sym
    @obj = nil
    @imethod = nil
    self.type = type
    return
  end
  super
end