Package ghidra.program.model.listing
Enum AutoParameterType
- java.lang.Object
-
- java.lang.Enum<AutoParameterType>
-
- ghidra.program.model.listing.AutoParameterType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<AutoParameterType>
public enum AutoParameterType extends java.lang.Enum<AutoParameterType>
AutoParameterType
defines the various types of auto-parameters.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RETURN_STORAGE_PTR
RETURN_STORAGE_PTR
corresponds to a caller allocated return storage pointer passed as a hidden parameterTHIS
THIS
corresponds to the object pointer parameter associated with a __thiscall calling convention and passed as a hidden parameter
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDisplayName()
static AutoParameterType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static AutoParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
THIS
public static final AutoParameterType THIS
THIS
corresponds to the object pointer parameter associated with a __thiscall calling convention and passed as a hidden parameter
-
RETURN_STORAGE_PTR
public static final AutoParameterType RETURN_STORAGE_PTR
RETURN_STORAGE_PTR
corresponds to a caller allocated return storage pointer passed as a hidden parameter
-
-
Method Detail
-
values
public static AutoParameterType[] 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 (AutoParameterType c : AutoParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AutoParameterType valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getDisplayName
public java.lang.String getDisplayName()
-
-