Package com.ibm.wala.dalvik.util
Class AndroidEntryPointLocator.AndroidPossibleEntryPoint
- java.lang.Object
-
- com.ibm.wala.dalvik.util.AndroidEntryPointLocator.AndroidPossibleEntryPoint
-
- All Implemented Interfaces:
AndroidEntryPoint.IExecutionOrder
,Comparable<AndroidEntryPoint.IExecutionOrder>
- Enclosing class:
- AndroidEntryPointLocator
public static class AndroidEntryPointLocator.AndroidPossibleEntryPoint extends Object implements AndroidEntryPoint.IExecutionOrder
A definition of an Entrypoint functions o the App are matched against. To locate the Entrypoints of the analyzed Application all their Methods are matched against a set of hardcoded definitions. This set consists of AndroidPossibleEntryPoints. An AndroidPossibleEntryPoint is rather useless as you can build an actual AndroidEntryPoint without having a AndroidPossibleEntryPoint. To extend the set of known definitions have a look at the classes ActivityEP, ServiceEP, ...
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AndroidEntryPointLocator.AndroidPossibleEntryPoint.ExecutionOrderComperator
-
Field Summary
Fields Modifier and Type Field Description AndroidEntryPoint.ExecutionOrder
order
-
Constructor Summary
Constructors Constructor Description AndroidPossibleEntryPoint(AndroidComponent c, String n, AndroidEntryPoint.ExecutionOrder o)
AndroidPossibleEntryPoint(AndroidComponent c, String n, AndroidEntryPointLocator.AndroidPossibleEntryPoint o)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(AndroidEntryPoint.IExecutionOrder o)
int
getOrderValue()
Returns an integer-representation of the ExecutionOrder.AndroidEntryPoint.ExecutionOrder
getSection()
AbstractAndroidModel inserts code at section switches.
-
-
-
Field Detail
-
order
public final AndroidEntryPoint.ExecutionOrder order
-
-
Constructor Detail
-
AndroidPossibleEntryPoint
public AndroidPossibleEntryPoint(AndroidComponent c, String n, AndroidEntryPoint.ExecutionOrder o)
-
AndroidPossibleEntryPoint
public AndroidPossibleEntryPoint(AndroidComponent c, String n, AndroidEntryPointLocator.AndroidPossibleEntryPoint o)
-
-
Method Detail
-
getOrderValue
public int getOrderValue()
Description copied from interface:AndroidEntryPoint.IExecutionOrder
Returns an integer-representation of the ExecutionOrder.- Specified by:
getOrderValue
in interfaceAndroidEntryPoint.IExecutionOrder
-
compareTo
public int compareTo(AndroidEntryPoint.IExecutionOrder o)
- Specified by:
compareTo
in interfaceComparable<AndroidEntryPoint.IExecutionOrder>
-
getSection
public AndroidEntryPoint.ExecutionOrder getSection()
Description copied from interface:AndroidEntryPoint.IExecutionOrder
AbstractAndroidModel inserts code at section switches. There are eight hardcoded sections. Sections are derived by rounding the integer-representation.- Specified by:
getSection
in interfaceAndroidEntryPoint.IExecutionOrder
- Returns:
- the section of this entity
-
-