Class: Android::Dex::AccessFlag

Inherits:
Object
  • Object
show all
Defined in:
lib/android/dex/access_flag.rb

Overview

access flag object

Direct Known Subclasses

ClassAccessFlag, MethodAccessFlag

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(flag) ⇒ AccessFlag

Returns a new instance of AccessFlag.



9
10
11
# File 'lib/android/dex/access_flag.rb', line 9

def initialize(flag)
  @flag = flag
end

Instance Attribute Details

#flagInteger (readonly)

Returns flag value.

Returns:

  • (Integer)

    flag value



8
9
10
# File 'lib/android/dex/access_flag.rb', line 8

def flag
  @flag
end