public abstract class ReflectiveFunctionBase extends Object implements Function
List<FunctionParameter> form.| Modifier and Type | Field and Description |
|---|---|
Method |
method
Method that implements the function.
|
List<FunctionParameter> |
parameters
Types of parameter for the function call.
|
| Constructor and Description |
|---|
ReflectiveFunctionBase(Method method)
ReflectiveFunctionBase constructor |
| Modifier and Type | Method and Description |
|---|---|
List<FunctionParameter> |
getParameters()
Returns the parameters of this function.
|
static com.google.common.collect.ImmutableList<FunctionParameter> |
toFunctionParameters(Class... types) |
static com.google.common.collect.ImmutableList<FunctionParameter> |
toFunctionParameters(Iterable<? extends Class> types) |
public final Method method
public final List<FunctionParameter> parameters
public ReflectiveFunctionBase(Method method)
ReflectiveFunctionBase constructormethod - method that is used to get type information frompublic List<FunctionParameter> getParameters()
getParameters in interface Functionpublic static com.google.common.collect.ImmutableList<FunctionParameter> toFunctionParameters(Class... types)
public static com.google.common.collect.ImmutableList<FunctionParameter> toFunctionParameters(Iterable<? extends Class> types)
Copyright © 2012–2015 The Apache Software Foundation. All rights reserved.