Class ReflectionVariableAccessorGenerator.ConvertingVariable

java.lang.Object
jnr.ffi.provider.jffi.ReflectionVariableAccessorGenerator.ConvertingVariable
All Implemented Interfaces:
Variable
Enclosing class:
ReflectionVariableAccessorGenerator

private static final class ReflectionVariableAccessorGenerator.ConvertingVariable extends Object implements Variable
  • Field Details

  • Constructor Details

  • Method Details

    • get

      public Object get()
      Description copied from interface: Variable
      Gets the current value of the global variable
      Specified by:
      get in interface Variable
      Returns:
      The value of the variable
    • set

      public void set(Object value)
      Description copied from interface: Variable
      Sets the global variable to a value
      Specified by:
      set in interface Variable
      Parameters:
      value - The value to set the global variable to.