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 TypeMethodDescriptionboolean
Evaluates reflectivelyprotected Object
Object[]
Object[]
Returns the method info for this referenceReturns the method reference as a block in an invocation-friendly syntaxint
hashCode()
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:IConstructorReference
Returns the method info for this reference- Specified by:
getConstructorInfo
in interfaceIConstructorReference<R,
T>
-
evaluate
Description copied from interface:IInvokableFeatureReference
Evaluates reflectively- Specified by:
evaluate
in interfaceIInvokableFeatureReference<R,
T>
-
getRootType
- Specified by:
getRootType
in interfaceIFeatureReference<R,
T>
-
getFeatureInfo
- Specified by:
getFeatureInfo
in interfaceIFeatureReference<R,
T>
-
evaluate
- Specified by:
evaluate
in classFeatureReference<R,
T>
-
getFullArgTypes
- Specified by:
getFullArgTypes
in classFeatureReference<R,
T>
-
toBlock
Description copied from interface:IInvokableFeatureReference
Returns the method reference as a block in a transformation-friendly syntax- Specified by:
toBlock
in interfaceIInvokableFeatureReference<R,
T>
-
getBoundArgValues
- Specified by:
getBoundArgValues
in interfaceIInvokableFeatureReference<R,
T> - Returns:
- an array of bound values if the feature had them, and null otherwise
-
getInvoke
Description copied from interface:IInvokableFeatureReference
Returns the method reference as a block in an invocation-friendly syntax- Specified by:
getInvoke
in interfaceIInvokableFeatureReference<R,
T>
-
getBoundValues
-
equals
-
hashCode
public int hashCode()
-