Class: Duby::JVM::Types::JavaFieldAccessor
- Inherits:
-
JavaMethod
- Object
- JavaCallable
- JavaConstructor
- JavaMethod
- Duby::JVM::Types::JavaFieldAccessor
- Defined in:
- lib/duby/jvm/types/methods.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from JavaCallable
Instance Method Summary collapse
- #field? ⇒ Boolean
- #final? ⇒ Boolean
- #public? ⇒ Boolean
- #return_type ⇒ Object (also: #actual_return_type)
Methods inherited from JavaMethod
#abstract?, #call, #call_special, #constructor?, #static?, #void?
Methods inherited from JavaConstructor
#argument_types, #call, #constructor?, #declaring_class, #exceptions
Methods inherited from JavaCallable
#initialize, #name, #parameter_types
Methods included from ArgumentConversion
Constructor Details
This class inherits a constructor from Duby::JVM::Types::JavaCallable
Instance Method Details
#final? ⇒ Boolean
308 309 310 |
# File 'lib/duby/jvm/types/methods.rb', line 308 def final? @member.final? end |
#public? ⇒ Boolean
304 305 306 |
# File 'lib/duby/jvm/types/methods.rb', line 304 def public? @member.public? end |
#return_type ⇒ Object Also known as: actual_return_type
298 299 300 |
# File 'lib/duby/jvm/types/methods.rb', line 298 def return_type AST.type(@member.type) end |