Package gw.lang.reflect.features
Class BoundPropertyReference<R,T>
- java.lang.Object
-
- gw.lang.reflect.features.FeatureReference<R,T>
-
- gw.lang.reflect.features.BoundPropertyReference<R,T>
-
- All Implemented Interfaces:
IFeatureReference<R,T>,IPropertyReference<R,T>
public class BoundPropertyReference<R,T> extends FeatureReference<R,T> implements IPropertyReference<R,T>
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Object_ctxprivate IPropertyInfo_piprivate IType_rootType
-
Constructor Summary
Constructors Constructor Description BoundPropertyReference(IType rootType, java.lang.Object ctx, java.lang.String property)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object o)protected java.lang.Objectevaluate(java.util.Iterator args)Tget()java.lang.ObjectgetCtx()IFeatureInfogetFeatureInfo()protected java.util.List<IType>getFullArgTypes()IPropertyInfogetPropertyInfo()ITypegetRootType()inthashCode()voidset(T val)-
Methods inherited from class gw.lang.reflect.features.FeatureReference
hasReturn
-
-
-
-
Field Detail
-
_pi
private IPropertyInfo _pi
-
_rootType
private IType _rootType
-
_ctx
private java.lang.Object _ctx
-
-
Constructor Detail
-
BoundPropertyReference
public BoundPropertyReference(IType rootType, java.lang.Object ctx, java.lang.String property)
-
-
Method Detail
-
get
public T get()
-
set
public void set(T val)
-
getRootType
public IType getRootType()
- Specified by:
getRootTypein interfaceIFeatureReference<R,T>
-
getCtx
public java.lang.Object getCtx()
-
getPropertyInfo
public IPropertyInfo getPropertyInfo()
- Specified by:
getPropertyInfoin interfaceIPropertyReference<R,T>
-
getFeatureInfo
public IFeatureInfo getFeatureInfo()
- Specified by:
getFeatureInfoin interfaceIFeatureReference<R,T>
-
evaluate
protected java.lang.Object evaluate(java.util.Iterator args)
- Specified by:
evaluatein classFeatureReference<R,T>
-
getFullArgTypes
protected 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
-
-