Package com.ibm.wala.dalvik.util
Enum AndroidEntryPointLocator.LocatorFlags
- java.lang.Object
-
- java.lang.Enum<AndroidEntryPointLocator.LocatorFlags>
-
- com.ibm.wala.dalvik.util.AndroidEntryPointLocator.LocatorFlags
-
- All Implemented Interfaces:
Serializable
,Comparable<AndroidEntryPointLocator.LocatorFlags>
- Enclosing class:
- AndroidEntryPointLocator
public static enum AndroidEntryPointLocator.LocatorFlags extends Enum<AndroidEntryPointLocator.LocatorFlags>
Used to control the search mechanisms of AndroidEntryPointLocator.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CB_HEURISTIC
Additionally select all functions that override a function of the Android stubs.EP_HEURISTIC
Additionally select all functions that override a function of an AndroidComponent.INCLUDE_CALLBACKS
If this flag is not set only functions of actual Android-Components are returned.WITH_ANDROID
This will pull in components defined in the Android-API.WITH_CTOR
Add the constructor of detected components to the entrypoints.WITH_SUPER
If a class does not override a method of a component, add a call to the method in the super-class to the entriepoints.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AndroidEntryPointLocator.LocatorFlags
valueOf(String name)
Returns the enum constant of this type with the specified name.static AndroidEntryPointLocator.LocatorFlags[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
INCLUDE_CALLBACKS
public static final AndroidEntryPointLocator.LocatorFlags INCLUDE_CALLBACKS
If this flag is not set only functions of actual Android-Components are returned. If it's enabled additional call-backs are handled as an entrypoint.
-
EP_HEURISTIC
public static final AndroidEntryPointLocator.LocatorFlags EP_HEURISTIC
Additionally select all functions that override a function of an AndroidComponent.
-
CB_HEURISTIC
public static final AndroidEntryPointLocator.LocatorFlags CB_HEURISTIC
Additionally select all functions that override a function of the Android stubs.
-
WITH_CTOR
public static final AndroidEntryPointLocator.LocatorFlags WITH_CTOR
Add the constructor of detected components to the entrypoints.
-
WITH_SUPER
public static final AndroidEntryPointLocator.LocatorFlags WITH_SUPER
If a class does not override a method of a component, add a call to the method in the super-class to the entriepoints.
-
WITH_ANDROID
public static final AndroidEntryPointLocator.LocatorFlags WITH_ANDROID
This will pull in components defined in the Android-API. In most cases this is not wanted.
-
-
Method Detail
-
values
public static AndroidEntryPointLocator.LocatorFlags[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AndroidEntryPointLocator.LocatorFlags c : AndroidEntryPointLocator.LocatorFlags.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AndroidEntryPointLocator.LocatorFlags valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-