Class: JavaClass::ClassFile::Attributes::InnerClass

Inherits:
Object
  • Object
show all
Defined in:
lib/javaclass/classfile/attributes/attributes.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name, access_flags) ⇒ InnerClass

Returns a new instance of InnerClass.



126
127
128
129
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 126

def initialize(name, access_flags)
  @class_name = name
  @access_flags = access_flags
end

Instance Attribute Details

#access_flagsObject (readonly)

Returns the value of attribute access_flags.



124
125
126
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 124

def access_flags
  @access_flags
end

#class_nameObject (readonly)

Returns the value of attribute class_name.



123
124
125
# File 'lib/javaclass/classfile/attributes/attributes.rb', line 123

def class_name
  @class_name
end