Class: JavaClass::StackMapFrame

Inherits:
Object
  • Object
show all
Includes:
Base
Defined in:
lib/javaclass/attribute.rb

Overview

スタックマップフレーム

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Base

#==, #===, #dump, #eql?, #hash, #to_byte

Constructor Details

#initialize(frame_type) ⇒ StackMapFrame

コンストラクタ

*frame_type::種別



1103
1104
1105
# File 'lib/javaclass/attribute.rb', line 1103

def initialize(frame_type)
  @frame_type = frame_type
end

Instance Attribute Details

#frame_typeObject

種別



1110
1111
1112
# File 'lib/javaclass/attribute.rb', line 1110

def frame_type
  @frame_type
end

Instance Method Details

#to_bytesObject



1106
1107
1108
# File 'lib/javaclass/attribute.rb', line 1106

def to_bytes
  to_byte( frame_type, 1 )
end