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.



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

def initialize(flag)
  @flag = flag
end

Instance Attribute Details

#flagInteger (readonly)

Returns flag value.

Returns:

  • (Integer)

    flag value



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

def flag
  @flag
end