public final enum

ContextAccessType

extends Enum<E extends Enum<E>>
java.lang.Object
   ↳ java.lang.Enum<E extends java.lang.Enum<E>>
     ↳ com.pnfsoftware.jeb.core.units.code.android.ContextAccessType

Class Overview

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).

Summary

Enum Values
ContextAccessType  NONE  Context-insensitive, side-effect-free. 
ContextAccessType  READ_ONLY  Context-sensitive, side-effect-free. 
ContextAccessType  READ_WRITE  Context-sensitive, has side-effects. 
ContextAccessType  UNKNOWN  Unknown. 
ContextAccessType  WRITE_ONLY  Context-insensitive, has side-effects. 
Public Methods
ContextAccessType addAccess(ContextAccessType other)
static ContextAccessType get(boolean ci, boolean sef)
boolean isAllAccess()
boolean isCI()
boolean isSEF()
boolean reads()
static ContextAccessType valueOf(String name)
final static ContextAccessType[] values()
boolean writes()
[Expand]
Inherited Methods
From class java.lang.Enum
From class java.lang.Object
From interface java.lang.Comparable

Enum Values

public static final ContextAccessType NONE

Context-insensitive, side-effect-free.

public static final ContextAccessType READ_ONLY

Context-sensitive, side-effect-free.

public static final ContextAccessType READ_WRITE

Context-sensitive, has side-effects.

public static final ContextAccessType UNKNOWN

Unknown. Treated as {@value #READ_WRITE}.

public static final ContextAccessType WRITE_ONLY

Context-insensitive, has side-effects.

Public Methods

public ContextAccessType addAccess (ContextAccessType other)

public static ContextAccessType get (boolean ci, boolean sef)

public boolean isAllAccess ()

public boolean isCI ()

Returns
  • true if the access type is context-insensitive (does not read)

public boolean isSEF ()

Returns
  • true if the access type is side-effect-free (does not write)

public boolean reads ()

Returns
  • the opposite of isCI

public static ContextAccessType valueOf (String name)

public static final ContextAccessType[] values ()

public boolean writes ()

Returns
  • the opposite of isSEF