Class: JavaClass::SameLocals1StackItemFrame
- Inherits:
-
StackMapFrame
- Object
- StackMapFrame
- JavaClass::SameLocals1StackItemFrame
- Defined in:
- lib/javaclass/attribute.rb
Overview
same_locals_1_stack_item_frame
Instance Attribute Summary collapse
Attributes inherited from StackMapFrame
Instance Method Summary collapse
-
#initialize(frame_type, verification_type_info = []) ⇒ SameLocals1StackItemFrame
constructor
コンストラクタ.
- #to_bytes ⇒ Object
Methods included from Base
#==, #===, #dump, #eql?, #hash, #to_byte
Constructor Details
#initialize(frame_type, verification_type_info = []) ⇒ SameLocals1StackItemFrame
コンストラクタ
*frame_type::種別
- *verification_type_info
-
型情報
1129 1130 1131 1132 |
# File 'lib/javaclass/attribute.rb', line 1129 def initialize(frame_type, verification_type_info=[]) super(frame_type) @verification_type_info = verification_type_info end |
Instance Attribute Details
#verification_type_info ⇒ Object
型情報
1141 1142 1143 |
# File 'lib/javaclass/attribute.rb', line 1141 def verification_type_info @verification_type_info end |
Instance Method Details
#to_bytes ⇒ Object
1133 1134 1135 1136 1137 1138 1139 |
# File 'lib/javaclass/attribute.rb', line 1133 def to_bytes bytes = super verification_type_info.each {|v| bytes += v.to_bytes } bytes end |