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
70
71
72
73
74
75
76
|
# File 'lib/rjb.rb', line 70
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
65
66
67
68
69
|
# File 'lib/rjb.rb', line 65
def methods(inh = true)
jmethods(super(inh), self) do |m|
!instance_method?(m) && public_method?(m)
end
end
|
#public_methods(inh = true) ⇒ Object
60
61
62
63
64
|
# File 'lib/rjb.rb', line 60
def public_methods(inh = true)
jmethods(super(inh), self) do |m|
!instance_method?(m) && public_method?(m)
end
end
|