Package gw.lang.reflect.features
Class ConstructorReference<R,T>
java.lang.Object
gw.lang.reflect.features.FeatureReference<R,T>
gw.lang.reflect.features.ConstructorReference<R,T>
- All Implemented Interfaces:
IConstructorReference<R,,T> IFeatureReference<R,,T> IInvokableFeatureReference<R,T>
public class ConstructorReference<R,T>
extends FeatureReference<R,T>
implements IConstructorReference<R,T>
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanEvaluates reflectivelyprotected ObjectObject[]Object[]Returns the method info for this referenceReturns the method reference as a block in an invocation-friendly syntaxinthashCode()toBlock()Returns the method reference as a block in a transformation-friendly syntaxMethods inherited from class gw.lang.reflect.features.FeatureReference
hasReturn
-
Field Details
-
_ci
-
_boundValues
-
-
Constructor Details
-
ConstructorReference
-
-
Method Details
-
getConstructorInfo
Description copied from interface:IConstructorReferenceReturns the method info for this reference- Specified by:
getConstructorInfoin interfaceIConstructorReference<R,T>
-
evaluate
Description copied from interface:IInvokableFeatureReferenceEvaluates reflectively- Specified by:
evaluatein interfaceIInvokableFeatureReference<R,T>
-
getRootType
- Specified by:
getRootTypein interfaceIFeatureReference<R,T>
-
getFeatureInfo
- Specified by:
getFeatureInfoin interfaceIFeatureReference<R,T>
-
evaluate
- Specified by:
evaluatein classFeatureReference<R,T>
-
getFullArgTypes
- Specified by:
getFullArgTypesin classFeatureReference<R,T>
-
toBlock
Description copied from interface:IInvokableFeatureReferenceReturns the method reference as a block in a transformation-friendly syntax- Specified by:
toBlockin interfaceIInvokableFeatureReference<R,T>
-
getBoundArgValues
- Specified by:
getBoundArgValuesin interfaceIInvokableFeatureReference<R,T> - Returns:
- an array of bound values if the feature had them, and null otherwise
-
getInvoke
Description copied from interface:IInvokableFeatureReferenceReturns the method reference as a block in an invocation-friendly syntax- Specified by:
getInvokein interfaceIInvokableFeatureReference<R,T>
-
getBoundValues
-
equals
-
hashCode
public int hashCode()
-