Class JavaFieldPropertyInfo.StaticAccessor

java.lang.Object
gw.internal.gosu.parser.JavaFieldPropertyInfo.StaticAccessor
All Implemented Interfaces:
IPropertyAccessor
Enclosing class:
JavaFieldPropertyInfo

private class JavaFieldPropertyInfo.StaticAccessor extends Object implements IPropertyAccessor
  • Constructor Details

    • StaticAccessor

      private StaticAccessor()
  • Method Details

    • getValue

      public Object getValue(Object ctx)
      Description copied from interface: IPropertyAccessor
      Returns the value for a property given a "this" object
      Specified by:
      getValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer.
      Returns:
      the value of the property for the ctx object
    • setValue

      public void setValue(Object ctx, Object value)
      Description copied from interface: IPropertyAccessor
      Sets the property to the given value for the ctx object
      Specified by:
      setValue in interface IPropertyAccessor
      Parameters:
      ctx - the "this" pointer
      value - the new value