Class: JavaClass::DeprecatedAttribute
Overview
Instance Attribute Summary
Attributes inherited from Attribute
#java_class, #name_index
Instance Method Summary
collapse
Methods inherited from Attribute
#name
Methods included from Base
#==, #===, #dump, #eql?, #hash, #to_byte
Constructor Details
コンストラクタ
*java_class::属性の所有者であるJavaクラス *name_index::名前を示すconstant_poolのインデックス
283
284
285
|
# File 'lib/javaclass/attribute.rb', line 283
def initialize( java_class, name_index )
super( java_class, name_index)
end
|
Instance Method Details
#to_bytes ⇒ Object
289
290
291
292
|
# File 'lib/javaclass/attribute.rb', line 289
def to_bytes
bytes = super
bytes += to_byte( 0, 4 )
end
|
#to_s ⇒ Object
286
287
288
|
# File 'lib/javaclass/attribute.rb', line 286
def to_s
"// !!Deprecated!!"
end
|