Class: JavaClass::ClassFile::Constants::ConstantMethod
- Inherits:
-
DoubleReference
- Object
- Base
- SingleReference
- DoubleReference
- JavaClass::ClassFile::Constants::ConstantMethod
- Defined in:
- lib/javaclass/classfile/constants/double_reference.rb
Overview
ZenTest SKIP
Instance Attribute Summary
Attributes inherited from DoubleReference
Attributes inherited from SingleReference
Attributes inherited from Base
Instance Method Summary collapse
- #const_method? ⇒ Boolean
- #first_value ⇒ Object (also: #class_name)
-
#initialize(pool, data, start) ⇒ ConstantMethod
constructor
A new instance of ConstantMethod.
Methods inherited from DoubleReference
Methods inherited from SingleReference
Methods inherited from Base
#const_class?, #const_field?, #dump
Constructor Details
#initialize(pool, data, start) ⇒ ConstantMethod
Returns a new instance of ConstantMethod.
62 63 64 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 62 def initialize(pool, data, start) super(pool, data, start) end |
Instance Method Details
#const_method? ⇒ Boolean
73 74 75 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 73 def const_method? true end |
#first_value ⇒ Object Also known as: class_name
66 67 68 |
# File 'lib/javaclass/classfile/constants/double_reference.rb', line 66 def first_value JavaVMName.new(super) # this is a classname end |