Package gw.internal.gosu.parser
Class JavaPropertyInfo.PropertyAccessorAdaptor
- java.lang.Object
-
- gw.internal.gosu.parser.JavaPropertyInfo.PropertyAccessorAdaptor
-
- All Implemented Interfaces:
IPropertyAccessor
- Enclosing class:
- JavaPropertyInfo
public class JavaPropertyInfo.PropertyAccessorAdaptor extends Object implements IPropertyAccessor
-
-
Constructor Summary
Constructors Constructor Description PropertyAccessorAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJavaClassMethod
getGetterMethod()
IJavaClassMethod
getSetterMethod()
Object
getValue(Object ctx)
Returns the value for a property given a "this" objectvoid
setValue(Object ctx, Object value)
Sets the property to the given value for the ctx object
-
-
-
Method Detail
-
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 interfaceIPropertyAccessor
- 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 interfaceIPropertyAccessor
- Parameters:
ctx
- the "this" pointervalue
- the new value
-
getGetterMethod
public IJavaClassMethod getGetterMethod()
-
getSetterMethod
public IJavaClassMethod getSetterMethod()
-
-