Package uk.co.terminological.rjava
Interface Rule.MapRule<Y>
- Type Parameters:
Y
- - the input data type that will be mapped
public static interface Rule.MapRule<Y>
The MapRule interface allows a label to be associated with a data mapping
- Author:
- terminological
-
Method Summary
Modifier and TypeMethodDescriptionlabel()
static <Z> Rule.MapRule<Z>
generates a mapping using reflection from a method specificationstatic <X> Rule.MapRule<X>[]
reflectionRules
(Class<X> clazz) rule()
-
Method Details
-
label
String label() -
rule
-
reflectionRules
-
mapping
generates a mapping using reflection from a method specification- Type Parameters:
Z
- the input type- Parameters:
method
- - the java method- Returns:
- - a mapping that associates the method name with the method.
-