Class: JavaClass::InterfaceMethodRefConstant

Inherits:
MemberRefConstant show all
Defined in:
lib/javaclass/constant.rb

Overview

インターフェイスメソッドのConstant

Constant Summary

Constants inherited from Constant

Constant::CONSTANT_Class, Constant::CONSTANT_Double, Constant::CONSTANT_Fieldref, Constant::CONSTANT_Float, Constant::CONSTANT_Integer, Constant::CONSTANT_InterfaceMethodref, Constant::CONSTANT_Long, Constant::CONSTANT_Methodref, Constant::CONSTANT_NameAndType, Constant::CONSTANT_String, Constant::CONSTANT_Utf8

Instance Attribute Summary

Attributes inherited from MemberRefConstant

#class_name_index, #name_and_type_index

Attributes inherited from Constant

#java_class, #tag

Instance Method Summary collapse

Methods inherited from MemberRefConstant

#class_name, #name_and_type, #to_bytes

Methods inherited from Constant

#to_bytes

Methods included from Base

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

Constructor Details

#initialize(java_class, tag = nil, class_name_index = nil, name_and_type_index = nil) ⇒ InterfaceMethodRefConstant

コンストラクタ

*java_class::constantの所有者であるJavaクラス *tag::constantの種類を示すタグ *class_name_index::フィールドorメソッドを持つクラス名を示すconstant_poolのインデックス *name_and_type_index::フィールドorメソッドの名前とディスクリプタを示すconstant_poolのインデックス



158
159
160
# File 'lib/javaclass/constant.rb', line 158

def initialize( java_class, tag=nil, class_name_index=nil, name_and_type_index=nil )
  super
end