Package net.bytebuddy.dynamic.loading
Enum ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper
java.lang.Object
java.lang.Enum<ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper>
net.bytebuddy.dynamic.loading.ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper
- All Implemented Interfaces:
com.sun.jna.FunctionMapper
,Serializable
,Comparable<ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper>
,java.lang.constant.Constable
- Enclosing interface:
ClassInjector.UsingJna.Dispatcher
public static enum ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper
extends Enum<ClassInjector.UsingJna.Dispatcher.Windows32BitFunctionMapper>
implements com.sun.jna.FunctionMapper
A mapper for 32-bit Windows functions where names are defined with different convention.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFunctionName
(com.sun.jna.NativeLibrary library, Method method) Returns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
INSTANCE
The singleton instance.
-
-
Constructor Details
-
Windows32BitFunctionMapper
private Windows32BitFunctionMapper()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-
getFunctionName
- Specified by:
getFunctionName
in interfacecom.sun.jna.FunctionMapper
-