Interface IPropertyAccessor

All Known Implementing Classes:
ArrayExpansionPropertyInfo.ArrayExpansionAccessor, DynamicPropertyInfo, GosuPropertyInfo.GosuPropertyAccessor, GosuPropertyInfo.ReflectivePropertyAccessor, GosuVarPropertyInfo.VarPropertyAccessor, JavaFieldPropertyInfo.NonStaticAccessor, JavaFieldPropertyInfo.StaticAccessor, JavaPropertyInfo.PropertyAccessorAdaptor, LengthAccessor, MetaPropertyInfoDelegate.Accessor, PackagePropertyInfo.PackagePropertyAccessor, StaticPropertyInfo.StaticAccessor, TypePropertyInfo.MetaTypePropertyAccessor

public interface IPropertyAccessor
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the value for a property given a "this" object
    void
    setValue(Object ctx, Object value)
    Sets the property to the given value for the ctx object
  • Method Details

    • getValue

      Object getValue(Object ctx)
      Returns the value for a property given a "this" object
      Parameters:
      ctx - the "this" pointer.
      Returns:
      the value of the property for the ctx object
    • setValue

      void setValue(Object ctx, Object value)
      Sets the property to the given value for the ctx object
      Parameters:
      ctx - the "this" pointer
      value - the new value