Enum IInstantiationBehavior.Exactness
- java.lang.Object
-
- java.lang.Enum<IInstantiationBehavior.Exactness>
-
- com.ibm.wala.dalvik.ipa.callgraph.androidModel.parameters.IInstantiationBehavior.Exactness
-
- All Implemented Interfaces:
Serializable
,Comparable<IInstantiationBehavior.Exactness>
- Enclosing class:
- IInstantiationBehavior
public static enum IInstantiationBehavior.Exactness extends Enum<IInstantiationBehavior.Exactness>
Information on how the IInstanciationBehavior made its decision for#InstanceBehavior
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEFAULT
No mapping was found, the default-value was used as a fall-back.EXACT
The decision was made based on a exact known mapping from the given data.INHERITED
No direct mapping was found for the type, the one returned is from a superclass.PACKAGE
The value is based on the package of the variable.PREFIX
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static IInstantiationBehavior.Exactness
valueOf(String name)
Returns the enum constant of this type with the specified name.static IInstantiationBehavior.Exactness[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EXACT
public static final IInstantiationBehavior.Exactness EXACT
The decision was made based on a exact known mapping from the given data.
-
INHERITED
public static final IInstantiationBehavior.Exactness INHERITED
No direct mapping was found for the type, the one returned is from a superclass.
-
PACKAGE
public static final IInstantiationBehavior.Exactness PACKAGE
The value is based on the package of the variable.
-
PREFIX
public static final IInstantiationBehavior.Exactness PREFIX
-
DEFAULT
public static final IInstantiationBehavior.Exactness DEFAULT
No mapping was found, the default-value was used as a fall-back.
-
-
Method Detail
-
values
public static IInstantiationBehavior.Exactness[] 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 (IInstantiationBehavior.Exactness c : IInstantiationBehavior.Exactness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static IInstantiationBehavior.Exactness 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
-
-