Package ghidra.pcode.emu.jit.gen.access
Enum Class LongAccessGen
- All Implemented Interfaces:
AccessGen<JitType.LongJitType>,MethodAccessGen,SimpleAccessGen<Types.TLong,,JitType.LongJitType> Serializable,Comparable<LongAccessGen>,Constable
public enum LongAccessGen
extends Enum<LongAccessGen>
implements MethodAccessGen, SimpleAccessGen<Types.TLong,JitType.LongJitType>
Bytes writer for longs in big endian order.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic LongAccessGenGet thelongaccess generator for the given byte orderstatic LongAccessGenReturns the enum constant of this class with the specified name.static LongAccessGen[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfMethods inherited from interface ghidra.pcode.emu.jit.gen.access.MethodAccessGen
chooseReadName, chooseWriteNameMethods inherited from interface ghidra.pcode.emu.jit.gen.access.SimpleAccessGen
genReadToStack, genWriteFromStack
-
Enum Constant Details
-
BE
The big-endian instance -
LE
The little-endian instance
-
-
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
-
forEndian
Get thelongaccess generator for the given byte order- Parameters:
endian- the byte order- Returns:
- the access generator
-