# Enum: com.pnfsoftware.jeb.core.units.code.android.ContextAccessType

Define the type of context\-access performed by an Android method. The context\-access is a combination of context\-sensitivity \(for read operations\) and side\-effect information \(for write operations\).

## Constant: NONE
Description: Context\-insensitive, side\-effect\-free. Similar to to [#NONE_SAFE](#NONE_SAFE) but may throw.

## Constant: NONE_SAFE
Description: Nothing: no context access, does not throw \(all other values imply the possibility of raising exception\).

## Constant: READ_ONLY
Description: Context\-sensitive, side\-effect\-free. May throw.

## Constant: READ_WRITE
Description: Context\-sensitive, has side\-effects. May throw.

## Constant: UNKNOWN
Description: Unknown. Treated as [#READ_WRITE](#READ_WRITE).

## Constant: WRITE_ONLY
Description: Context\-insensitive, has side\-effects. May throw.

## Method: addAccess
- parameter: `other`, type: `com.pnfsoftware.jeb.core.units.code.android.ContextAccessType`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ContextAccessType`

Description: Combine this access type with another access type.
parameter: other: other access type
return: the combined access type

## Method: isAllAccess
- return type: `boolean`

Description: Determine if this type represents both reads and writes.
return: true for read/write access

## Method: isCI
- return type: `boolean`

Description: Determine if the access is context\-insensitive.
return: true if the access type is context\-insensitive \(does not read\)

## Method: isNoneLike
- return type: `boolean`

Description: Determine if this type behaves like no context access.
return: true for no\-access types

## Method: isNothrow
- return type: `boolean`

Description: Determine if the access is known not to throw.
return: true if the access is not expected to throw

## Method: isSEF
- return type: `boolean`

Description: Determine if the access is side\-effect\-free.
return: true if the access type is side\-effect\-free \(does not write\)

## Method: reads
- return type: `boolean`

Description: Determine if the access reads context.
return: the opposite of `isCI`

## Method: writes
- return type: `boolean`

Description: Determine if the access writes context.
return: the opposite of `isSEF`

## Static Method: get
- parameter: `ci`, type: `boolean`
- parameter: `sef`, type: `boolean`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ContextAccessType`

Description: Retrieve the access type matching context read/write flags.
parameter: ci: true for context\-insensitive access
parameter: sef: true for side\-effect\-free access
return: the matching access type

## Static Method: valueOf
- parameter: `name`, type: `java.lang.String`
- return type: `com.pnfsoftware.jeb.core.units.code.android.ContextAccessType`


## Static Method: values
- return type: `com.pnfsoftware.jeb.core.units.code.android.ContextAccessType[]`


