Class: Rjb::Rjb_JavaClass
- Inherits:
-
Object
- Object
- Rjb::Rjb_JavaClass
show all
- Includes:
- JMethod
- Defined in:
- lib/rjb.rb
Instance Method Summary
collapse
Methods included from JMethod
#format_sigs, #instance_method?, #jmethods, #public_method?
Instance Method Details
#java_methods ⇒ Object
115
116
117
118
119
120
121
|
# File 'lib/rjb.rb', line 115
def java_methods
jmethods([], self) do |m|
!instance_method?(m) && public_method?(m)
end.map do |m|
"#{m}(#{format_sigs(self.static_sigs(m))})"
end
end
|
#methods(inh = true) ⇒ Object
110
111
112
113
114
|
# File 'lib/rjb.rb', line 110
def methods(inh = true)
jmethods(super(inh), self) do |m|
!instance_method?(m) && public_method?(m)
end
end
|
#public_methods(inh = true) ⇒ Object
105
106
107
108
109
|
# File 'lib/rjb.rb', line 105
def public_methods(inh = true)
jmethods(super(inh), self) do |m|
!instance_method?(m) && public_method?(m)
end
end
|