Class: JavaClass::ClassFile::Attributes::InnerClass
- Defined in:
- lib/javaclass/classfile/attributes/attributes.rb
Instance Attribute Summary collapse
-
#access_flags ⇒ Object
readonly
Returns the value of attribute access_flags.
-
#class_name ⇒ Object
readonly
Returns the value of attribute class_name.
Instance Method Summary collapse
-
#initialize(name, access_flags) ⇒ InnerClass
constructor
A new instance of InnerClass.
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_flags ⇒ Object (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_name ⇒ Object (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 |