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 java.lang.Object implements IPropertyAccessor
-
-
Constructor Summary
Constructors Constructor Description PropertyAccessorAdaptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IJavaClassMethodgetGetterMethod()private java.lang.ClassgetOwningClass()IJavaClassMethodgetSetterMethod()java.lang.ObjectgetValue(java.lang.Object ctx)Returns the value for a property given a "this" objectvoidsetValue(java.lang.Object ctx, java.lang.Object value)Sets the property to the given value for the ctx object
-
-
-
Method Detail
-
getValue
public java.lang.Object getValue(java.lang.Object ctx)
Description copied from interface:IPropertyAccessorReturns the value for a property given a "this" object- Specified by:
getValuein interfaceIPropertyAccessor- Parameters:
ctx- the "this" pointer.- Returns:
- the value of the property for the ctx object
-
setValue
public void setValue(java.lang.Object ctx, java.lang.Object value)Description copied from interface:IPropertyAccessorSets the property to the given value for the ctx object- Specified by:
setValuein interfaceIPropertyAccessor- Parameters:
ctx- the "this" pointervalue- the new value
-
getOwningClass
private java.lang.Class getOwningClass()
-
getGetterMethod
public IJavaClassMethod getGetterMethod()
-
getSetterMethod
public IJavaClassMethod getSetterMethod()
-
-