org.eclipse.xtend.backend.lib
Class PropertyAccessor

java.lang.Object
  extended by org.eclipse.xtend.backend.lib.PropertyAccessor

public class PropertyAccessor
extends java.lang.Object

Author:
aarnold - Initial contribution and API

Constructor Summary
PropertyAccessor()
           
 
Method Summary
static java.lang.Object propertyOnCollection(java.util.Collection<?> coll, java.lang.String propertyName, ExecutionContext ctx, SourcePos pos)
           
static java.lang.Object propertyOnObject(java.lang.Object owner, java.lang.String propertyName, ExecutionContext ctx, SourcePos pos)
           
static java.lang.Object propertyOnWhatever(java.lang.Object owner, java.lang.String propertyName, ExecutionContext ctx, SourcePos pos)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PropertyAccessor

public PropertyAccessor()
Method Detail

propertyOnObject

public static java.lang.Object propertyOnObject(java.lang.Object owner,
                                                java.lang.String propertyName,
                                                ExecutionContext ctx,
                                                SourcePos pos)

propertyOnCollection

public static java.lang.Object propertyOnCollection(java.util.Collection<?> coll,
                                                    java.lang.String propertyName,
                                                    ExecutionContext ctx,
                                                    SourcePos pos)

propertyOnWhatever

public static java.lang.Object propertyOnWhatever(java.lang.Object owner,
                                                  java.lang.String propertyName,
                                                  ExecutionContext ctx,
                                                  SourcePos pos)