Package gw.lang.reflect.features
Class PropertyReference<R,T>
- java.lang.Object
-
- gw.lang.reflect.features.FeatureReference<R,T>
-
- gw.lang.reflect.features.PropertyReference<R,T>
-
- All Implemented Interfaces:
IFeatureReference<R,T>,IPropertyReference<R,T>
public class PropertyReference<R,T> extends FeatureReference<R,T> implements IPropertyReference<R,T>
-
-
Field Summary
Fields Modifier and Type Field Description private IPropertyInfo_piprivate IType_rootType
-
Constructor Summary
Constructors Constructor Description PropertyReference(IType rootType, java.lang.String property)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)protected java.lang.Objectevaluate(java.util.Iterator args)Tget(R ctx)IFeatureInfogetFeatureInfo()java.util.List<IType>getFullArgTypes()IPropertyInfogetPropertyInfo()(package private) static IPropertyInfogetPropertyInfo(IType rootType, java.lang.String propName)ITypegetRootType()inthashCode()voidset(R ctx, T val)-
Methods inherited from class gw.lang.reflect.features.FeatureReference
hasReturn
-
-
-
-
Field Detail
-
_pi
private IPropertyInfo _pi
-
_rootType
private IType _rootType
-
-
Constructor Detail
-
PropertyReference
public PropertyReference(IType rootType, java.lang.String property)
-
-
Method Detail
-
getPropertyInfo
static IPropertyInfo getPropertyInfo(IType rootType, java.lang.String propName)
-
getRootType
public IType getRootType()
- Specified by:
getRootTypein interfaceIFeatureReference<R,T>
-
getPropertyInfo
public IPropertyInfo getPropertyInfo()
- Specified by:
getPropertyInfoin interfaceIPropertyReference<R,T>
-
evaluate
protected java.lang.Object evaluate(java.util.Iterator args)
- Specified by:
evaluatein classFeatureReference<R,T>
-
getFeatureInfo
public IFeatureInfo getFeatureInfo()
- Specified by:
getFeatureInfoin interfaceIFeatureReference<R,T>
-
getFullArgTypes
public java.util.List<IType> getFullArgTypes()
- Specified by:
getFullArgTypesin classFeatureReference<R,T>
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-