Enum Class ReferenceType
- All Implemented Interfaces:
Serializable
,Comparable<ReferenceType>
,Constable
Native reference types attached to
IReference
. References can be broadly categorized in
two types: control-flow and data-flow references.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionSource unconditionally branches on targetSource conditionally branches on targetSource branches on target using a register indirection or a register/memory dereferenceGeneric code referenceGeneric data referenceSource is a pointer to targetSource reads targetSource calls target as a routineSource writes to target -
Method Summary
Modifier and TypeMethodDescriptionboolean
isCode()
boolean
isData()
static ReferenceType
Returns the enum constant of this class with the specified name.static ReferenceType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
-
GEN_CODE
Generic code reference -
BRANCH
Source unconditionally branches on target -
COND_BRANCH
Source conditionally branches on target -
DYNAMIC_BRANCH
Source branches on target using a register indirection or a register/memory dereference -
ROUTINE_CALL
Source calls target as a routine -
GEN_DATA
Generic data reference -
PTR_DATA
Source is a pointer to target -
READ_DATA
Source reads target -
WRITE_DATA
Source writes to target
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getStrCode
-
isCode
public boolean isCode() -
isData
public boolean isData()
-