Class: Rjb::Rjb_JavaProxy
- Inherits:
-
Object
- Object
- Rjb::Rjb_JavaProxy
show all
- Includes:
- JMethod
- Defined in:
- lib/rjb.rb,
lib/rjb/list.rb
Instance Method Summary
collapse
Methods included from JMethod
#format_sigs, #instance_method?, #jmethods, #make_snake, #public_method?, #rjb_respond_to?
Instance Method Details
#initialize_proxy ⇒ Object
141
142
|
# File 'lib/rjb.rb', line 141
def initialize_proxy
end
|
#java_methods ⇒ Object
153
154
155
156
157
158
159
|
# File 'lib/rjb.rb', line 153
def java_methods
jmethods([], getClass) do |m|
instance_method?(m) && public_method?(m)
end.map do |m|
"#{m}(#{format_sigs(getClass.sigs(m))})"
end
end
|
#methods(inh = true) ⇒ Object
148
149
150
151
152
|
# File 'lib/rjb.rb', line 148
def methods(inh = true)
jmethods(super(inh), getClass) do |m|
instance_method?(m) && public_method?(m)
end
end
|
#public_methods(inh = true) ⇒ Object
143
144
145
146
147
|
# File 'lib/rjb.rb', line 143
def public_methods(inh = true)
jmethods(super(inh), getClass) do |m|
instance_method?(m) && public_method?(m)
end
end
|
#respond_to?(sym, priv = false) ⇒ Boolean
160
161
162
|
# File 'lib/rjb.rb', line 160
def respond_to?(sym, priv = false)
rjb_respond_to?(sym, false, priv)
end
|