public final class OperatorHelper extends Object implements FlowElementAttribute
| Constructor and Description |
|---|
OperatorHelper(String name,
List<Class<?>> parameterTypes)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Class<? extends FlowElementAttribute> |
getDeclaringClass()
Returns the declaring class of this attribute.
|
String |
getName()
Returns the name of the operator helper method.
|
List<Class<?>> |
getParameterTypes()
Returns the erased parameter types of the operator helper method.
|
Method |
toMethod(OperatorDescription.Declaration owner)
Returns a reflective object of the target operator helper method.
|
String |
toString() |
public OperatorHelper(String name, List<Class<?>> parameterTypes)
name - the name of the operator helper methodparameterTypes - the erased parameter types of the operator helper methodIllegalArgumentException - if the parameters are nullpublic Class<? extends FlowElementAttribute> getDeclaringClass()
FlowElementAttributegetDeclaringClass in interface FlowElementAttributepublic String getName()
public List<Class<?>> getParameterTypes()
public Method toMethod(OperatorDescription.Declaration owner)
owner - information of the owner operator method declarationnull if there is no such a methodCopyright © 2011–2019 Asakusa Framework Team. All rights reserved.