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, #public_method?
Instance Method Details
#initialize_proxy ⇒ Object
122
123
|
# File 'lib/rjb.rb', line 122
def initialize_proxy
end
|
#java_methods ⇒ Object
134
135
136
137
138
139
140
|
# File 'lib/rjb.rb', line 134
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
129
130
131
132
133
|
# File 'lib/rjb.rb', line 129
def methods(inh = true)
jmethods(super(inh), getClass) do |m|
instance_method?(m) && public_method?(m)
end
end
|
#public_methods(inh = true) ⇒ Object
124
125
126
127
128
|
# File 'lib/rjb.rb', line 124
def public_methods(inh = true)
jmethods(super(inh), getClass) do |m|
instance_method?(m) && public_method?(m)
end
end
|