Class: Mirah::JVM::Types::MirahMember
- Inherits:
-
Object
- Object
- Mirah::JVM::Types::MirahMember
- Defined in:
- lib/mirah/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
- #abstract? ⇒ Boolean
-
#initialize(klass, name, args, return_type, static, exceptions) ⇒ MirahMember
constructor
A new instance of MirahMember.
- #static? ⇒ Boolean
Constructor Details
#initialize(klass, name, args, return_type, static, exceptions) ⇒ MirahMember
Returns a new instance of MirahMember.
371 372 373 374 375 376 377 378 379 380 381 |
# File 'lib/mirah/jvm/types/methods.rb', line 371 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.
368 369 370 |
# File 'lib/mirah/jvm/types/methods.rb', line 368 def argument_types @argument_types end |
#declaring_class ⇒ Object (readonly)
Returns the value of attribute declaring_class.
368 369 370 |
# File 'lib/mirah/jvm/types/methods.rb', line 368 def declaring_class @declaring_class end |
#exception_types ⇒ Object (readonly)
Returns the value of attribute exception_types.
369 370 371 |
# File 'lib/mirah/jvm/types/methods.rb', line 369 def exception_types @exception_types end |
#name ⇒ Object (readonly)
Returns the value of attribute name.
368 369 370 |
# File 'lib/mirah/jvm/types/methods.rb', line 368 def name @name end |
#return_type ⇒ Object (readonly)
Returns the value of attribute return_type.
368 369 370 |
# File 'lib/mirah/jvm/types/methods.rb', line 368 def return_type @return_type end |