Class: Duby::JVM::Types::DubyMember
- Defined in:
- lib/duby/jvm/types/methods.rb
Instance Attribute Summary collapse
-
#argument_types ⇒ Object
readonly
Returns the value of attribute argument_types.
-
#declaring_class ⇒ Object
readonly
Returns the value of attribute declaring_class.
-
#exception_types ⇒ Object
readonly
Returns the value of attribute exception_types.
-
#name ⇒ Object
readonly
Returns the value of attribute name.
-
#return_type ⇒ Object
readonly
Returns the value of attribute return_type.
Instance Method Summary collapse
-
#initialize(klass, name, args, return_type, static, exceptions) ⇒ DubyMember
constructor
A new instance of DubyMember.
- #static? ⇒ Boolean
Constructor Details
#initialize(klass, name, args, return_type, static, exceptions) ⇒ DubyMember
Returns a new instance of DubyMember.
204 205 206 207 208 209 210 211 212 213 214 |
# File 'lib/duby/jvm/types/methods.rb', line 204 def initialize(klass, name, args, return_type, static, exceptions) if return_type == Void return_type = nil end @declaring_class = klass @name = name @argument_types = args @return_type = return_type @static = static @exception_types = exceptions || [] end |
Instance Attribute Details
#argument_types ⇒ Object (readonly)
Returns the value of attribute argument_types.
201 202 203 |
# File 'lib/duby/jvm/types/methods.rb', line 201 def argument_types @argument_types end |
#declaring_class ⇒ Object (readonly)
Returns the value of attribute declaring_class.
201 202 203 |
# File 'lib/duby/jvm/types/methods.rb', line 201 def declaring_class @declaring_class end |
#exception_types ⇒ Object (readonly)
Returns the value of attribute exception_types.
202 203 204 |
# File 'lib/duby/jvm/types/methods.rb', line 202 def exception_types @exception_types end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
201 202 203 |
# File 'lib/duby/jvm/types/methods.rb', line 201 def name @name end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type.
201 202 203 |
# File 'lib/duby/jvm/types/methods.rb', line 201 def return_type @return_type end |
Instance Method Details
#static? ⇒ Boolean
216 217 218 |
# File 'lib/duby/jvm/types/methods.rb', line 216 def static? @static end |