org.eclipse.xtend.backend.types.internal
Class FunctionBackedProperty
java.lang.Object
org.eclipse.xtend.backend.types.internal.FunctionBackedProperty
- All Implemented Interfaces:
- Property
public final class FunctionBackedProperty
- extends java.lang.Object
- implements Property
- Author:
- Arno Haase (http://www.haase-consulting.com), André Arnold
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FunctionBackedProperty
public FunctionBackedProperty(java.lang.String name,
java.lang.String getterName,
java.lang.String setterName,
BackendType owner)
get
public java.lang.Object get(ExecutionContext ctx,
java.lang.Object o)
- Specified by:
get
in interface Property
set
public void set(ExecutionContext ctx,
java.lang.Object o,
java.lang.Object newValue)
- Specified by:
set
in interface Property
getName
public java.lang.String getName()
- Specified by:
getName
in interface Property
getOwner
public BackendType getOwner()
- Specified by:
getOwner
in interface Property
isReadable
public boolean isReadable()
- Specified by:
isReadable
in interface Property
isWritable
public boolean isWritable()
- Specified by:
isWritable
in interface Property
getType
public BackendType getType(BackendTypesystem ts)
- Specified by:
getType
in interface Property